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

damgad and busunkim96 fix: Adding ConnectionError to retry mechanism (#822)
This commit fixes issue #558

Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Latest commit c7516a2 Mar 23, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update github issue templates (#584) Nov 7, 2018
.kokoro chore: move kokoro configs (#832) Mar 6, 2020
apiclient chore: blacken (#772) Oct 30, 2019
docs chore(docs): fix capitalization in docs/README.md (#770) Oct 24, 2019
googleapiclient fix: Adding ConnectionError to retry mechanism (#822) Mar 23, 2020
samples Fix TypeError: search_analytics_api_sample.py #732 (#742) Aug 19, 2019
tests fix: Adding ConnectionError to retry mechanism (#822) Mar 23, 2020
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 chore: release v1.8.0 (#842) Mar 13, 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: Add note about Google Firebase Admin API (#833) Mar 20, 2020
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 fix: don't set http.redirect_codes if the attr doesn't exist and allo… Mar 13, 2020
sitecustomize.py Transition apiclient from googlecode to github. Apr 24, 2014
tox.ini chore: remove mentions of pycrypto (#799) Jan 14, 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.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.