Clone this repo:

Branches

  1. 923345d 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). by Sean Morrison · 11 days ago master
  2. f51dbdd Add #!/usr/bin/python line to csv_uploader. by Robert Spier · 1 year, 1 month ago
  3. e34ba9a Minor tidying. by Robert Spier · 1 year, 1 month ago
  4. 0b4284d Add support for listing task instances by Robert Spier · 1 year, 1 month ago
  5. 783563d Fix lint error. Improve documentation. by Robert Spier · 2 years ago

The Google Code-in API Client

API Documentation is at https://developers.google.com/open-source/gci/api

Usage

./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.

Prerequisites

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.

API Keys

Organization Adminstrators can find their API key on their User Profile.

Bugs/Support

To report bugs, please email gci-support@google.com.