commit | 0915761b342e18fdf56f7e1ac174ca736f679ed1 | [log] [tgz] |
---|---|---|
author | INADA Naoki <songofacandy@gmail.com> | Wed Mar 25 01:51:03 2015 +0900 |
committer | INADA Naoki <songofacandy@gmail.com> | Thu Mar 26 13:55:52 2015 +0900 |
tree | c37c334e9ee86192681e169da37fee4feb00b706 | |
parent | edf2d2e21acf56ae108d86a712ddc679386a4843 [diff] |
Fix unicode issues in HttpError and BatchHttpRequest 1) HttpError parses http response by json.loads. It accepts only unicode on PY3 while response is bytes. So decode response first. 2) BatchHttpRequest uses email.parser.FeedParser. It accepts only unicode on PY3, too. So encode parsed response to emulate normal http response.
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 is required. Python 3.x is not yet supported.
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.