commit | 85c2c6d80859c466d29946e66ccd6a1c3a2df748 | [log] [tgz] |
---|---|---|
author | Jon Wayne Parrott <jonwayne@google.com> | Thu Jan 05 20:34:49 2017 |
committer | GitHub <noreply@github.com> | Thu Jan 05 20:34:49 2017 |
tree | d3f8f33d4865e0c94525b9557d4464ba165be3d0 | |
parent | 94a539406fb18bf59861f64904d1f82b02659b61 [diff] |
Add support for google-auth and remove Python 2.6 support (#319) * `discovery.build` and `discovery.build_from_document` now accept both oauth2client credentials and google-auth credentials. * `discovery.build` and `discovery.build_from_document` now unambiguously use the http argument for *all* requests, including the request to get the discovery document. * The `http` and `credentials` arguments to `discovery.build` and `discovery.build_from_document` are now mutally exclusive. * If neither `http` or `credentials` is specified to `discovery.build` and `discovery.build_from_document`, then Application Default Credentials will be used. * oauth2client is still the "default" authentication library.
This is the Python client library for Google's discovery based APIs. To get started, please see the full documentation for this library. Additionally, dynamically generated documentation is available for all of the APIs supported by this library.
To install, simply use pip
or easy_install
:
$ pip install --upgrade google-api-python-client
or
$ easy_install --upgrade google-api-python-client
See the Developers Guide for more detailed instructions and additional documentation.
Python 2.6 or 2.7 are fully supported.
Python 3.3 and 3.4 are supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.
The following libraries will be installed when you install the client library:
For development you will also need the following libraries:
Please see the contributing page for more information. In particular, we love pull requests - but please make sure to sign the contributor license agreement.