Skip to content
🐍 The official Python client library for Google's discovery based APIs.
Python Other
  1. Python 98.8%
  2. Other 1.2%
Branch: master
Clone or download
Latest commit 66bb32c Oct 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.kokoro Use kokoro for testing (#580) Oct 25, 2018
apiclient chore: blacken (#772) Oct 30, 2019
docs chore(docs): fix capitalization in docs/README.md (#770) Oct 24, 2019
googleapiclient chore: blacken (#772) Oct 30, 2019
samples Fix TypeError: search_analytics_api_sample.py #732 (#742) Aug 19, 2019
tests chore: blacken (#772) Oct 30, 2019
tools Version 1.3 release. Oct 15, 2014
.coveragerc Adding coveralls integration Mar 30, 2015
.gitignore Adding coveralls integration Mar 30, 2015
.gitmodules Drop oauth2client as a submodule. Oct 9, 2014
.hgignore Adding Python DFA Reporting API Samples. Nov 18, 2013
CHANGELOG Release 1.7.11 (#737) Aug 12, 2019
CODE_OF_CONDUCT.md Add Code of Conduct Jul 2, 2018
LICENSE Version 1.3 release. Oct 15, 2014
MANIFEST.in Include tests in source distribution (#514) May 31, 2018
Makefile Use twine to upload the package to pypi. Sep 11, 2015
README.md docs: recommend install with virtualenv (#768) Oct 22, 2019
describe.py chore: blacken (#772) Oct 30, 2019
expandsymlinks.py Replace remaining python2.4 shebang lines. Mar 2, 2015
samples-index.py chore: blacken (#772) Oct 30, 2019
setup.py chore: blacken (#772) Oct 30, 2019
sitecustomize.py Transition apiclient from googlecode to github. Apr 24, 2014
tox.ini tox.ini: Look for Python syntax errors and undefined names (#721) Jul 22, 2019

README.md

Google API Client

PyPI version

This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder.

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.

Documentation

See the docs folder for more detailed instructions and additional documentation.

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.

Installation

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-api-python-client

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-api-python-client

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:

Contributing

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.