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.