Clone this repo:
  1. d9f47bd Update issue tracker to link to g suite public issue trackers (#475) by Jon Wayne Parrott · 3 weeks ago master
  2. b86bfc9 Remove unnecessary parsing of mime headers in HttpRequest.__init__ (#467) by Ondrej Medek · 5 weeks ago
  3. 6436741 Release v1.6.5 (#470) by Jon Wayne Parrott · 5 weeks ago v1.6.5
  4. 20e6135 Proactively refresh credentials when applying and treat a missing acces_token as invalid. (#469) by Jon Wayne Parrott · 5 weeks ago
  5. 043fd70 Remove mutual exclusivity check for developerKey and credentials (#465) by Jon Wayne Parrott · 5 weeks ago

Library maintenance

This client library is supported but in maintenance mode only. We are fixing necessary bugs and adding essential features to ensure this library continues to meet your needs for accessing Google APIs. Non-critical issues will be closed. Any issue may be reopened if it is causing ongoing problems.


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.

Google Cloud Platform APIs

If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub, consider using the Cloud Client Libraries for Python instead. These are the new and idiomatic Python libraries targeted specifically at Google Cloud Platform Services.


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.