Clone this repo:
  1. cf1ad3e Update github issue templates (#584) by Justin Beckwith · 2 months ago master
  2. 3d177a8 Use kokoro for testing (#580) by Bu Sun Kim · 3 months ago
  3. 781de4c add copyright header, closes #216 (#550) by Chris McDonough · 6 months ago
  4. 0dc81bf Respect custom headers set on the request supplied to MediaIoBaseDownload within each call to next_chunk (#546) by Chris McDonough · 6 months ago
  5. 3cf5e60 Under Python 3; fix bug that caused invalid Content-ID header when custom request_id supplied (#545) by Chris McDonough · 6 months ago

Google API Client

This is the Python client library for Google's discovery based APIs. To get started, please see the full documentation for this library. Additionally, dynamically generated documentation is available for all of the APIs supported by this library.

These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

Google Cloud Platform

For Google Cloud Platform APIs such as Datastore, Cloud Storage or Pub/Sub, we recommend using Cloud Client Libraries for Python which is under active development.


To install, simply use pip or easy_install:

$ pip install --upgrade google-api-python-client


$ easy_install --upgrade google-api-python-client

See the Developers Guide for more detailed instructions and additional documentation.

Python Version

Python 2.7, 3.4, 3.5, and 3.6 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.

Third Party Libraries and Dependencies

The following libraries will be installed when you install the client library:

For development you will also need the following libraries:


Please see the contributing page for more information. In particular, we love pull requests - but please make sure to sign the contributor license agreement.