commit | 923345d8c276892e29640d77c1010893309bcd36 | [log] [tgz] |
---|---|---|
author | Sean Morrison <brlcad@gmail.com> | Wed Dec 06 02:37:40 2017 -0500 |
committer | Robert Spier <rspier@google.com> | Wed Dec 06 10:21:17 2017 -0800 |
tree | a7f6adb1efd489740db4e1c819938904207daa86 | |
parent | f51dbdde3c3798f937e7860026c639a3439cf33a [diff] |
data coming back is unicode, so make sure we encode to utf-8. otherwise errors (e.g., UnicodeEncodeError: 'ascii' codec can't encode character ...) can be encountered when buffered (e.g., while piping output to less).
API Documentation is at https://developers.google.com/open-source/gci/api
./list_tasks.py --apikey APIKEY
./list_instances.py --apikey APIKEY
./csv_uploader.py --apikey APIKEY file.csv
Each script also supports other flags. Use --help to see them.
The client library requires requests to be installed.
You can install it with pip
or easy_install
(instructions) or install your operating system specific package. On Ubuntu or Debian, it is in the python-requests
package.
Organization Adminstrators can find their API key on their User Profile.
To report bugs, please email gci-support@google.com.