# Samples by API ## ![](http://www.google.com/images/icons/product/doubleclick-32.gif) Ad Exchange Buyer API Lets you manage your Ad Exchange Buyer account. Documentation for the Ad Exchange Buyer API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/adexchangebuyer/v1.3/python/latest/).
samples/adexchangebuyer Samples for working with the Ad Exchange Buyer API
## ![](http://www.google.com/images/icons/product/adsense-32.png) AdSense Management API Gives AdSense publishers access to their inventory and the ability to generate reports. Documentation for the AdSense Management API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/adsense/v1.3/python/latest/).
samples/adsense Collection of command-line samples for the AdSense Management API
## ![](http://www.google.com/images/icons/product/analytics-32.png) Google Analytics API View and manage your Google Analytics data. Documentation for the Google Analytics API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/analytics/v3/python/latest/).
samples/analytics Command-line samples for producing reports with the Analytics API
## ![](http://www.google.com/images/icons/product/search-32.gif) Enterprise Audit API Lets you access user activities in your enterprise made through various applications. Documentation for the Enterprise Audit API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/audit/v1/python/latest/).
samples/audit Prints the activities for a domain using the Audit API
## ![](http://www.google.com/images/icons/product/blogger-32.png) Blogger API API for access to the data within Blogger. Documentation for the Blogger API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/blogger/v3/python/latest/).
samples/blogger Retrieve the list of blogs and their posts for a user
## ![](http://www.google.com/images/icons/product/search-32.gif) Google Maps Coordinate API Lets you view and manage jobs in a Coordinate team. Documentation for the Google Maps Coordinate API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/coordinate/v1/python/latest/).
samples/coordinate Demonstrates how to use the Google Coordinate API
## ![](http://www.google.com/images/icons/product/search-32.gif) CustomSearch API Lets you search over a website or collection of websites. Documentation for the CustomSearch API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/customsearch/v1/python/latest/).
samples/customsearch Search from the command-line
## ![](http://www.google.com/images/icons/feature/filing_cabinet_search-g32.png) 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](https://google-api-client-libraries.appspot.com/documentation/discovery/v1/python/latest/).
samples/api-python-client-doc Application serving up the Python help documentation for each API (see here)
## ![](http://www.google.com/images/icons/product/search-32.gif) Groups Settings API Lets you manage permission levels and related settings of a group. Documentation for the Groups Settings API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/groupssettings/v1/python/latest/).
samples/groupssettings Sample for the Groups Settings API
## ![](http://www.google.com/images/icons/product/gplus-32.png) Google+ API The Google+ API enables developers to build on top of the Google+ platform. Documentation for the Google+ API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/plus/v1/python/latest/).
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
samples/django_sample Demonstrates oauth2client and the Google+ API from Django
## ![](http://www.google.com/images/icons/feature/predictionapi-32.png) 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](https://google-api-client-libraries.appspot.com/documentation/prediction/v1.6/python/latest/).
samples/prediction Command-line application that trains on your input data
## ![](http://www.google.com/images/icons/product/search-32.gif) 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](https://developers.google.com/webmaster-tools/v3/).
samples/searchconsole Command-line samples for Search Console API (formerly known as Webmaster Tools API)
## ![](http://www.google.com/images/icons/product/search-32.gif) Search API For Shopping Lets you search over product data. Documentation for the Search API For Shopping in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/shopping/v1/python/latest/).
samples/searchforshopping Demonstrates the query capabilities for the Search API for Shopping
## ![](https://www.google.com/images/icons/product/cloud_storage-32.png) Cloud Storage API Lets you store and retrieve potentially-large, immutable data objects. Documentation for the Cloud Storage API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/storage/v1beta2/python/latest/).
samples/storage Uploads and downloads files between Google Cloud Storage and the local filesystem using the Google APIs Python Client Library
## ![](http://www.google.com/images/icons/product/tasks-32.png) Tasks API Lets you manage your tasks and task lists. Documentation for the Tasks API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/tasks/v1/python/latest/).
samples/tasks_appengine Sample code for the guide Getting Started with Google Tasks API
samples/service_account Demonstrates working with service accounts
## ![](http://www.google.com/images/icons/product/translate-32.png) Translate API Lets you translate text from one language to another. Documentation for the Translate API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/translate/v2/python/latest/).
samples/translate Demonstrates the Translate API
## ![](http://www.google.com/images/icons/product/search-32.gif) URL Shortener API Lets you create, inspect, and manage `goo.gl` short URLs. Documentation for the URL Shortener API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/urlshortener/v1/python/latest/).
samples/urlshortener Shortens a URL with the URL Shortener API
## ![](http://www.google.com/images/icons/product/youtube-32.png) YouTube Data API Programmatic access to YouTube features. Documentation for the YouTube Data API in [PyDoc](https://google-api-client-libraries.appspot.com/documentation/youtube/v3/python/latest/).
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/django_sample Demonstrates oauth2client and the Google+ API from Django
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
# Django Samples
samples/django_sample Demonstrates oauth2client and the Google+ API from Django
# 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