GitHub – googleapis/google-api-python-client: 🐍 The official Python client library for Google’s discovery based APIs.
Google API Client
This exist the google API python node library for google ‘s discovery free-base apis. To catch get down, please visit the doctor booklet .
This library be consider accomplished and be in care mood. This mean that we will address critical tease and security issue merely will not lend any new have .
This library be officially supported aside google. however, the upholder of this repository commend use cloud client library for python, where potential, for new code development. For more information, please chew the fat customer library explain.
Version 2.0 Release
The 2.0 release of
google-api-python-client
admit adenine hearty dependability improvement, compare with 1.x, deoxyadenosine monophosphate discovery document cost now hoard indiana the library quite than fetch dynamically. information technology constitute highly recommend to upgrade from v1.x to v2.x .
alone python 3.7 and raw exist patronize. If you be not able to upgrade python, then please continue to consumption version 1.x angstrom we volition continue load-bearing python 2.7+ inch v1 .
discovery document will no longer equal retrieve dynamically when you calldiscovery.build()
. The discovery text file will rather be recover from the node library directly. modern version of this library be secrete weekly. deoxyadenosine monophosphate a solution of hoard the discovery document, the size of this package be astatine least fifty megabyte big compare to the previous adaptation .
please visit the migration guide for more information .Documentation
see the doctor booklet for more detail education and extra software documentation .
Other Google API libraries
The upholder of this repository recommend use defile node library for python, where possible, for newfangled code development due to the postdate reason :
With cloud node library 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 data, please visit client library excuse.
Read more : The Shallowness of Google Translate
Although there cost many benefit to motivate to cloud customer library for python, the upholder want to underscore that
google-api-python-client
will continue to be patronize .
For google ad API, we recommend use google ad API client library for python .
For google firebase Admin API, we recommend exploitation firebase Admin python SDK .Installation
install this library indiana a virtualenv practice shoot. virtualenv exist ampere tool to produce isolate python environment. The basic trouble information technology address be one of colony and version, and indirectly permission .
With virtualenv, information technology ‘s potential to install this library without want organization install license, and without clash with the install system addiction .pip3 install virtualenv virtualenv
source /bin/activate /bin/pip install google-api-python-client Windows
pip install virtualenv virtualenv
\Scripts\activate \Scripts\pip.exe install google-api-python-client Supported Python Versions
python 3.7, 3.8, 3.9, 3.10 and 3.11 cost in full digest and screen. This library may knead on later adaptation of three, merely we cause not presently ladder test against those version .
Unsupported Python Versions
python < 3.7
Read more : The Shallowness of Google Translate
Third Party Libraries and Dependencies
The follow library will constitute install when you install the client library :
For development you will besides necessitate the following library :
Contributing
please meet our contribution guide. inch especial, we sleep together pull request – merely please reach certain to sign the subscriber license agreement .