commit | 6ad1c8a0ef8697abeaa608ff59f9059365ddc00c | [log] [tgz] |
---|---|---|
author | Robert O'Connor <rob@oconnor.ninja> | Sat Dec 23 01:59:32 2017 -0500 |
committer | Robert O'Connor <rob@oconnor.ninja> | Tue Jan 09 22:21:10 2018 -0500 |
tree | 482b9bbb7ad67624261df0e4e7c5476c2f75459e | |
parent | fd093c6704cd6c2cc18ba107d7a6f6d09a95f8b1 [diff] |
Allow for specifying the page size Default to 25 Max of 100 Change-Id: Ic8dc5986f09ad7be95d37654abd71f89bf3516b0
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.
We follow the Google Python Style Guide with a few modifications to match the Google internal version. The primary one is the use of 2 space indents.
Use yapf to keep the code formatted nicely. You can set up an auto-save hook in your editor, or run it manually:
# one time setup: pip install yapf # format files: yapf -i *.py
To report bugs, please email gci-support@google.com.