Skip to content
🐍 The official Python client library for Google's discovery based APIs.
Branch: master
Clone or download
Latest commit 9a25cc8 Jan 29, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update github issue templates (#584) Nov 7, 2018
.kokoro Use kokoro for testing (#580) Oct 25, 2018
apiclient Make apiclient.sample_tools optional (#525) Jun 4, 2018
googleapiclient Release 1.7.8 (#617) Jan 28, 2019
samples Adding example for searchAppearance (#414) Dec 7, 2018
tests Alias unittest2 import as unittest in (#613) Jan 15, 2019
tools Version 1.3 release. Oct 15, 2014
.coveragerc Adding coveralls integration Mar 30, 2015
.gitmodules Drop oauth2client as a submodule. Oct 9, 2014
CHANGELOG Add Code of Conduct Jul 2, 2018
Makefile Announce deprecation of Python 2.7 (#603) Dec 14, 2018 Replace remaining python2.4 shebang lines. Mar 2, 2015 2to3 -f print Nov 8, 2014 Transition apiclient from googlecode to github. Apr 24, 2014
tox.ini Run tests with Python 3.7 (#590) Nov 20, 2018

Google API Client

PyPI version

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.

Supported Python Versions

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

Deprecated Python Versions

Python == 2.7

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.

You can’t perform that action at this time.