summaryrefslogtreecommitdiffstats
path: root/includes/google-api-php-client-master/examples/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/google-api-php-client-master/examples/index.php')
-rw-r--r--includes/google-api-php-client-master/examples/index.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/includes/google-api-php-client-master/examples/index.php b/includes/google-api-php-client-master/examples/index.php
new file mode 100644
index 0000000..243c9c0
--- /dev/null
+++ b/includes/google-api-php-client-master/examples/index.php
@@ -0,0 +1,19 @@
+<?php
+include_once "templates/base.php";
+if (!isWebRequest()) {
+ echo "To view this page on a webserver using PHP 5.4 or above run: \n\t
+ php -S localhost:8080\n";
+ exit();
+}
+echo pageHeader("PHP Library Examples"); ?>
+<ul>
+ <li><a href="simple-query.php">A query using simple API access</a></li>
+ <li><a href="user-example.php">A query for user data, using OAuth 2.0 authentication.</a></li>
+ <li><a href="batch.php">An example of combining multiple calls into a batch request</a></li>
+ <li><a href="service-account.php">A query using the service account functionality.</a></li>
+ <li><a href="simplefileupload.php">An example of a small file upload.</a></li>
+ <li><a href="fileupload.php">An example of a large file upload.</a></li>
+ <li><a href="idtoken.php">An example of verifying and retrieving the id token.</a></li>
+ <li><a href="multi-api.php">An example of using multiple APIs.</a></li>
+</ul>
+<?php echo pageFooter();