Skip to content
🐍 The official Python client library for Google's discovery based APIs.
Python Shell Makefile
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: use nox and release-please; drop 3.4 (#852) Apr 20, 2020
.kokoro feat: add templates for python samples projects (#506) (#924) May 29, 2020
apiclient Remove apiclient.__version__ (#871) Apr 21, 2020
docs docs: update docs (#916) May 27, 2020
googleapiclient fix: fix python-api-core dependency issue (#931) Jun 2, 2020
samples docs: Fix simple typo: occured -> occurred (#828) Apr 20, 2020
tests feat: add mtls feature (#917) Jun 2, 2020
tools Version 1.3 release. Oct 15, 2014
.coveragerc Adding coveralls integration Mar 30, 2015
.gitignore chore: use nox and release-please; drop 3.4 (#852) Apr 20, 2020
.gitmodules Drop oauth2client as a submodule. Oct 9, 2014
.hgignore Adding Python DFA Reporting API Samples. Nov 18, 2013
.repo-metadata.json chore: use nox and release-please; drop 3.4 (#852) Apr 20, 2020
CHANGELOG.md chore: release 1.9.1 (#932) Jun 2, 2020
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: drop 3.4 from README (#869) Apr 21, 2020
describe.py chore: regens API reference docs (#889) May 1, 2020
expandsymlinks.py Replace remaining python2.4 shebang lines. Mar 2, 2015
noxfile.py feat: add mtls feature (#917) Jun 2, 2020
renovate.json Configure Renovate (#835) Apr 20, 2020
samples-index.py chore: blacken (#772) Oct 30, 2019
setup.py chore: release 1.9.1 (#932) Jun 2, 2020
sitecustomize.py Transition apiclient from googlecode to github. Apr 24, 2014
synth.metadata feat: add templates for python samples projects (#506) (#924) May 29, 2020
synth.py chore: use nox and release-please; drop 3.4 (#852) Apr 20, 2020

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.

Other Google API libraries

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

For Google Ads API, we recommend using Google Ads API Client Library for Python.

For Google Firebase Admin API, we recommend using Firebase Admin Python SDK.

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.5, 3.6 and 3.7, and 3.8 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.