commit | 2a9a213b5f59eb9a800e7ab5dbe606316c9bdb63 | [log] [tgz] |
---|---|---|
author | Son Dinh <son.dinh@infectiousmedia.com> | Thu Jul 23 16:30:56 2015 +0000 |
committer | Son Dinh <son.dinh@infectiousmedia.com> | Thu Jul 23 16:35:40 2015 +0000 |
tree | 4439e028f4af30c9b754bb289ae3eaf88e4b1f45 | |
parent | dee9cd51469299dd203a16f48648e5930a8aabca [diff] |
Discovery: Treat empty nextPageToken field the same as it not existing Sending nextPageToken out with an empty string to Google's DFA API will raise a 500 error. This commit treats an empty nextPageToken field the same as it not existing at all so that method.list_next() will not attempt to retrieve a non-existent page of results.
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+ is also now supported! However, this library has not yet been used as thoroughly with Python 3, so we'd recommend testing before deploying with Python 3 in production.
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.