Skip to content

Latest commit

 

History

History

samples

Samples by API

Ad Exchange Buyer API

Lets you manage your Ad Exchange Buyer account.

Documentation for the Ad Exchange Buyer API in PyDoc.

samples/adexchangebuyer Samples for working with the Ad Exchange Buyer API

AdSense Management API

Gives AdSense publishers access to their inventory and the ability to generate reports.

Documentation for the AdSense Management API in PyDoc.

samples/adsense Collection of command-line samples for the AdSense Management API

Google Analytics API

View and manage your Google Analytics data.

Documentation for the Google Analytics API in PyDoc.

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

Enterprise Audit API

Lets you access user activities in your enterprise made through various applications.

Documentation for the Enterprise Audit API in PyDoc.

samples/audit Prints the activities for a domain using the Audit API

Blogger API

API for access to the data within Blogger.

Documentation for the Blogger API in PyDoc.

samples/blogger Retrieve the list of blogs and their posts for a user

Google Maps Coordinate API

Lets you view and manage jobs in a Coordinate team.

Documentation for the Google Maps Coordinate API in PyDoc.

samples/coordinate Demonstrates how to use the Google Coordinate API

CustomSearch API

Lets you search over a website or collection of websites.

Documentation for the CustomSearch API in PyDoc.

samples/customsearch Search from the command-line

APIs Discovery Service

Lets you discover information about other Google APIs, such as what APIs are available, the resource and method details for each API.

Documentation for the APIs Discovery Service in PyDoc.

samples/api-python-client-doc Application serving up the Python help documentation for each API (see here)

Groups Settings API

Lets you manage permission levels and related settings of a group.

Documentation for the Groups Settings API in PyDoc.

samples/groupssettings Sample for the Groups Settings API

Google+ API

The Google+ API enables developers to build on top of the Google+ platform.

Documentation for the Google+ API in PyDoc.

samples/appengine Demonstrates the people API and OAuth 2.0 decorator for Google App Engine applications
samples/plus Loop over all a user's activities and print a short snippet

Prediction API

Lets you access a cloud hosted machine learning service that makes it easy to build smart apps

Documentation for the Prediction API in PyDoc.

samples/prediction Command-line application that trains on your input data

Search Console API

Add sites to a Search Console account, retrieve site data and diagnostics, and submit sitemaps.

Documentation for the Search Console API in Google Developers.

samples/searchconsole Command-line samples for Search Console API (formerly known as Webmaster Tools API)

Search API For Shopping

Lets you search over product data.

Documentation for the Search API For Shopping in PyDoc.

samples/searchforshopping Demonstrates the query capabilities for the Search API for Shopping

Cloud Compute Engine API

Lets you manage the Google Compute Engine instances in your projects.

samples/compute Creates a Google Compute Engine instance to modify a samples image and upload the result to a Cloud Storage bucket, then deletes the instance.

Cloud Storage API

Lets you store and retrieve potentially-large, immutable data objects.

Documentation for the Cloud Storage API in PyDoc.

samples/storage Uploads and downloads files between Google Cloud Storage and the local filesystem using the Google APIs Python Client Library

Tasks API

Lets you manage your tasks and task lists.

Documentation for the Tasks API in PyDoc.

samples/tasks_appengine Sample code for the guide Getting Started with Google Tasks API
samples/service_account Demonstrates working with service accounts

Translate API

Lets you translate text from one language to another.

Documentation for the Translate API in PyDoc.

samples/translate Demonstrates the Translate API

URL Shortener API

Lets you create, inspect, and manage goo.gl short URLs.

Documentation for the URL Shortener API in PyDoc.

samples/urlshortener Shortens a URL with the URL Shortener API

YouTube Data API

Programmatic access to YouTube features.

Documentation for the YouTube Data API in PyDoc.

samples/youtube Demonstrates YouTube APIs

Pagination Samples

samples/plus Loop over all a user's activities and print a short snippet

OAuth 2.0 Samples

samples/appengine Demonstrates the people API and OAuth 2.0 decorator for Google App Engine applications
samples/service_account Demonstrates working with service accounts

Media Upload and Download Samples

samples/storage Uploads and downloads files between Google Cloud Storage and the local filesystem using the Google APIs Python Client Library
samples/youtube Demonstrates YouTube APIs

Command-line Samples

samples/adexchangebuyer Samples for working with the Ad Exchange Buyer API
samples/adsense Collection of command-line samples for the AdSense Management API
samples/analytics Command-line samples for producing reports with the Analytics API
samples/audit Prints the activities for a domain using the Audit API
samples/blogger Retrieve the list of blogs and their posts for a user
samples/coordinate Demonstrates how to use the Google Coordinate API
samples/customsearch Search from the command-line
samples/groupsettings Sample for the Groups Settings API
samples/plus Loop over all a user's activities and print a short snippet
samples/prediction Command-line application that trains on your input data
samples/searchforshopping Demonstrates the query capabilities for the Search API for Shopping
samples/storage Uploads and downloads files between Google Cloud Storage and the local filesystem using the Google APIs Python Client Library
samples/translate Demonstrates the Translate API
samples/urlshortener Shortens a URL with the URL Shortener API
samples/youtube Demonstrates YouTube APIs

Google App Engine Samples

samples/api-python-client-doc Application serving up the Python help documentation for each API (see here)
samples/appengine Demonstrates the people API and OAuth 2.0 decorator for Google App Engine applications
samples/tasks_appengine Sample code for the guide Getting Started with Google Tasks API