Skip to content

googleapis/google-api-python-client

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

## Deleted keys were detected in the following stable discovery artifacts:
chat v1 https://togithub.com/googleapis/google-api-python-client/commit/4f7229c1470edea409bc6215ffd0425709d635b1
chromepolicy v1 https://togithub.com/googleapis/google-api-python-client/commit/ce3fc99f2c951f97aceed71b8cdd0f45a018353c
contactcenterinsights v1 https://togithub.com/googleapis/google-api-python-client/commit/106562f31d9de48aa1734bad77cfe6e52eeb0938
containeranalysis v1 https://togithub.com/googleapis/google-api-python-client/commit/4f5c30947adec7d3ab55244e1f5b19f925b8f07a
contentwarehouse v1 https://togithub.com/googleapis/google-api-python-client/commit/b5fd3dde326e3746f04525ed647ad739e3c6f597
gkebackup v1 https://togithub.com/googleapis/google-api-python-client/commit/37333bba18d0426226751fb461f5fe4b125c262a
gkeonprem v1 https://togithub.com/googleapis/google-api-python-client/commit/ff4e124a6dbf3561c88116634b8af5a245fd76f9
places v1 https://togithub.com/googleapis/google-api-python-client/commit/d78cc1840da807ffc6684c48065eb92e6d64703e

## Deleted keys were detected in the following pre-stable discovery artifacts:
containeranalysis v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/4f5c30947adec7d3ab55244e1f5b19f925b8f07a
integrations v1alpha https://togithub.com/googleapis/google-api-python-client/commit/344479e18ef2e4e17c4a5b2db96db2ec687c7b5e
securitycenter v1beta2 https://togithub.com/googleapis/google-api-python-client/commit/08e8c1610e13c397f07886ba1cdba44002a18d66

## Discovery Artifact Change Summary:
feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/d2ee980c9e90b84b3acc3f3aeae97f0f2d77c700
feat(analyticsadmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/7081cf969562fcc0041f94a57bcaf5861153ef8b
feat(androidmanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/b46bc44edb2130da8cd9495e39c4ca7cf9adc455
fix(androidpublisher): update the api https://togithub.com/googleapis/google-api-python-client/commit/288f8dd6c820fb8207fc0127e8ffc39fa9c37e59
feat(apigee): update the api https://togithub.com/googleapis/google-api-python-client/commit/8bac6c15f9cb8de691e55627d10fbd74596c7f9b
feat(apigeeregistry): update the api https://togithub.com/googleapis/google-api-python-client/commit/973eda4a79622f77c1123ffd5118fbcbc81df496
fix(appengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/9a664802e4b5307a71f0709c8297783eaae32ff4
feat(baremetalsolution): update the api https://togithub.com/googleapis/google-api-python-client/commit/09226c49cc02d3b8f90d982ef3605a9b9633ae9b
feat(blockchainnodeengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/70bcf038b9ac61d23e06ed8b02a96f9f1cad0d16
feat(chat): update the api https://togithub.com/googleapis/google-api-python-client/commit/4f7229c1470edea409bc6215ffd0425709d635b1
feat(chromepolicy): update the api https://togithub.com/googleapis/google-api-python-client/commit/ce3fc99f2c951f97aceed71b8cdd0f45a018353c
feat(cloudasset): update the api https://togithub.com/googleapis/google-api-python-client/commit/3d9ce0b27c3a50c47602d1126acdf7ab85300b80
feat(cloudbuild): update the api https://togithub.com/googleapis/google-api-python-client/commit/f032711ba572866a27f8724b37885550071a2272
feat(compute): update the api https://togithub.com/googleapis/google-api-python-client/commit/469d69ffe18cb8169cb7b89554275b563f079db6
feat(connectors): update the api https://togithub.com/googleapis/google-api-python-client/commit/75cec94bfdbb37715d401c9d11c1057a305eaf89
feat(contactcenterinsights): update the api https://togithub.com/googleapis/google-api-python-client/commit/106562f31d9de48aa1734bad77cfe6e52eeb0938
feat(container): update the api https://togithub.com/googleapis/google-api-python-client/commit/96fbd96de7ec840c96047c11ca869e0202cea1a7
feat(containeranalysis): update the api https://togithub.com/googleapis/google-api-python-client/commit/4f5c30947adec7d3ab55244e1f5b19f925b8f07a
feat(contentwarehouse): update the api https://togithub.com/googleapis/google-api-python-client/commit/b5fd3dde326e3746f04525ed647ad739e3c6f597
feat(dataplex): update the api https://togithub.com/googleapis/google-api-python-client/commit/119d5190a4b0e552c9240a58df49d25e2a125c7b
feat(dataproc): update the api https://togithub.com/googleapis/google-api-python-client/commit/5365240e53c2e91b67f501dcf9b6bc2c4164afc4
feat(dialogflow): update the api https://togithub.com/googleapis/google-api-python-client/commit/8ff5620d4457e759b7849f524ddc4aa426574cfd
feat(discoveryengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/6819fc0693e5639a1c6a9c5d2dd20efc3154bd07
feat(documentai): update the api https://togithub.com/googleapis/google-api-python-client/commit/53c4c4e6471f9ea23eff880acc46ed5a3c1bf12b
feat(gkebackup): update the api https://togithub.com/googleapis/google-api-python-client/commit/37333bba18d0426226751fb461f5fe4b125c262a
feat(gkeonprem): update the api https://togithub.com/googleapis/google-api-python-client/commit/ff4e124a6dbf3561c88116634b8af5a245fd76f9
feat(gmail): update the api https://togithub.com/googleapis/google-api-python-client/commit/667662ed67b2c1487cad7dd001c4edbf86ff4ffe
fix(healthcare): update the api https://togithub.com/googleapis/google-api-python-client/commit/9d332ad1e53c7a7ec4f607273c91e5bfda31eba2
feat(integrations): update the api https://togithub.com/googleapis/google-api-python-client/commit/344479e18ef2e4e17c4a5b2db96db2ec687c7b5e
feat(migrationcenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/94476b412e9cc4bdea4e21ea21d571b8cd5b88ff
feat(monitoring): update the api https://togithub.com/googleapis/google-api-python-client/commit/8d57528a0fd4c3a15664dd62a336b9b30452910a
feat(networkservices): update the api https://togithub.com/googleapis/google-api-python-client/commit/d5dc9ca9019e43b8a1e6b71635421160fdf785af
feat(places): update the api https://togithub.com/googleapis/google-api-python-client/commit/d78cc1840da807ffc6684c48065eb92e6d64703e
feat(redis): update the api https://togithub.com/googleapis/google-api-python-client/commit/70161c7d33e7769ece18b16a933ffe5d12526827
feat(run): update the api https://togithub.com/googleapis/google-api-python-client/commit/c2294fc8f6633c68676d2aceb359df80694c97b4
feat(securitycenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/08e8c1610e13c397f07886ba1cdba44002a18d66
feat(storage): update the api https://togithub.com/googleapis/google-api-python-client/commit/e286bfb3c2e5ba7f97299a490c62392ab191d377
feat(tagmanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/e18f976691177cbd0016a015c97e54aab7a5e5db
fix(translate): update the api https://togithub.com/googleapis/google-api-python-client/commit/cfbf4fe79d014968086b26051e069920606d5b1a
8b973fd

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 15, 2014 10:26
October 30, 2019 10:11

Google API Client

PyPI version

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

This library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

This library is officially supported by Google. However, the maintainers of this repository recommend using Cloud Client Libraries for Python, where possible, for new code development. For more information, please visit Client Libraries Explained.

Version 2.0 Release

The 2.0 release of google-api-python-client includes a substantial reliability improvement, compared with 1.x, as discovery documents are now cached in the library rather than fetched dynamically. It is highly recommended to upgrade from v1.x to v2.x.

Only python 3.7 and newer is supported. If you are not able to upgrade python, then please continue to use version 1.x as we will continue supporting python 2.7+ in v1.

Discovery documents will no longer be retrieved dynamically when you call discovery.build(). The discovery documents will instead be retrieved from the client library directly. New versions of this library are released weekly. As a result of caching the discovery documents, the size of this package is at least 50 MB larger compared to the previous version.

Please see the Migration Guide for more information.

Documentation

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

Other Google API libraries

The maintainers of this repository recommend using Cloud Client Libraries for Python, where possible, for new code development due to the following reasons:

With Cloud Client Libraries for Python:

  • There is a separate client library for each API, so you can choose which client libraries to download. Whereas, google-api-python-client is a single client library for all APIs. As a result, the total package size for google-api-python-client exceeds 50MB.
  • There are stricter controls for breaking changes to the underlying APIs as each client library is focused on a specific API.
  • There are more features in these Cloud Client Libraries as each library is focused on a specific API, and in some cases, the libraries are owned by team who specialized in that API.
  • Developers will benefit from intellisense.

For more information, please visit Client Libraries Explained.

Although there are many benefits to moving to Cloud Client Libraries for Python, the maintainers want to emphasize that google-api-python-client will continue to be supported.

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

pip3 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.7, 3.8, 3.9, 3.10 and 3.11 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.

Unsupported Python Versions

Python < 3.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 our Contribution Guide. In particular, we love pull requests - but please make sure to sign the contributor license agreement.