Permalink
..
Failed to load latest commit information.
analytics Use prettier and eslint on samples (#1341) Sep 18, 2018
analyticsReporting Use prettier and eslint on samples (#1341) Sep 18, 2018
blogger Use prettier and eslint on samples (#1341) Sep 18, 2018
compute Use prettier and eslint on samples (#1341) Sep 18, 2018
customsearch Use prettier and eslint on samples (#1341) Sep 18, 2018
directory_v1 fix: update gsuite admin samples (#1361) Sep 26, 2018
drive Fix Windows Kokoro builds (#1365) Sep 27, 2018
gmail Use prettier and eslint on samples (#1341) Sep 18, 2018
mirror Use prettier and eslint on samples (#1341) Sep 18, 2018
people Use prettier and eslint on samples (#1341) Sep 18, 2018
plus Use prettier and eslint on samples (#1341) Sep 18, 2018
sheets Use prettier and eslint on samples (#1341) Sep 18, 2018
storage add glass mirror api sample Mar 10, 2016
webmasters Use prettier and eslint on samples (#1341) Sep 18, 2018
youtube Fix Windows Kokoro builds (#1365) Sep 27, 2018
.eslintrc.yml Use prettier and eslint on samples (#1341) Sep 18, 2018
README.md Remove reference docs (#1331) Sep 13, 2018
defaultauth.js fix: update gsuite admin samples (#1361) Sep 26, 2018
jwt.js Use prettier and eslint on samples (#1341) Sep 18, 2018
mediaupload.js Use prettier and eslint on samples (#1341) Sep 18, 2018
multiple.js Use prettier and eslint on samples (#1341) Sep 18, 2018
oauth2.js Use prettier and eslint on samples (#1341) Sep 18, 2018
package.json Release v34.0.0 (#1360) Sep 26, 2018
sampleclient.js Fix the sample tests (#1344) Sep 19, 2018

README.md

Samples by API

The following samples show basic usage of various APIs. Throughout these samples, you will find code that relies on various authentication methods.

  • OAuth2 - To use the OAuth2 samples, create a credential in the cloud developer console, and save the file as oauth2.keys.json in the samples directory.
  • Service account - To use the service account based samples, create a new service account in the cloud developer console, and save the file as jwt.keys.json in the samples directory.
  • API Key - To use simple API keys, create a new API Key in the cloud developer console, then store the key in the api_key field of config.json.

Google Analytics API

View and manage your Google Analytics data.

samples/analytics Command-line samples for producing reports with the Analytics API

Blogger API

View and manage Blogger data.

samples/blogger Command-line samples for reading data with the Blogger API

Google Compute Engine Metadata API

Lets you set key/value pairs using the GCE metadata service.

samples/compute Demonstrates how to use the Google Compute Engine Metadata API

CustomSearch API

Lets you search over a website or collection of websites.

samples/customsearch Search from the command-line

Glass Mirror API

The Google Mirror API allows you to build web-based services that interact with Google Glass. It provides this functionality over a cloud-based API and does not require running code on Glass.

samples/mirror Obtains a list of locations from glass data

YouTube API

With the YouTube Data API, you can add a variety of YouTube features to your application. Use the API to upload videos, manage playlists and subscriptions, update channel settings, and more.

samples/youtube Samples for working with playlists, search and videos.