index.php 940 B

12345678910111213141516171819
  1. <?php
  2. include_once "templates/base.php";
  3. if (!isWebRequest()) {
  4. echo "To view this page on a webserver using PHP 5.4 or above run: \n\t
  5. php -S localhost:8080\n";
  6. exit();
  7. }
  8. echo pageHeader("PHP Library Examples"); ?>
  9. <ul>
  10. <li><a href="simple-query.php">A query using simple API access</a></li>
  11. <li><a href="user-example.php">A query for user data, using OAuth 2.0 authentication.</a></li>
  12. <li><a href="batch.php">An example of combining multiple calls into a batch request</a></li>
  13. <li><a href="service-account.php">A query using the service account functionality.</a></li>
  14. <li><a href="simplefileupload.php">An example of a small file upload.</a></li>
  15. <li><a href="fileupload.php">An example of a large file upload.</a></li>
  16. <li><a href="idtoken.php">An example of verifying and retrieving the id token.</a></li>
  17. <li><a href="multi-api.php">An example of using multiple APIs.</a></li>
  18. </ul>
  19. <?php echo pageFooter();