Skip to content

Latest commit

 

History

History
91 lines (65 loc) · 3.48 KB

README.md

File metadata and controls

91 lines (65 loc) · 3.48 KB

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.

Documentation for the Google Analytics API in JSDoc.

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

Blogger API

View and manage Blogger data.

Documentation for the Blogger API in JSDoc.

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.

Documentation for the Google Compute Engine Metadata API in JSDoc.

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

CustomSearch API

Lets you search over a website or collection of websites.

Documentation for the CustomSearch API in JSDoc.

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.

Documentation for the Glass Mirror API in JSDoc.

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.

Documentation for the YouTube Data API in JSDoc.

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