Some style improvements.

- Used yapf to clean things up
- add a flake8 config
- add .python-version file for pyenv
- add yapf style config

Change-Id: I1bda89cff8fca2c770fc81b94e76e398dd64662c
7 files changed
tree: 0358ba45cac58c7a66abed164647ed9af1a8a94c
  1. .flake8
  2. .gitignore
  3. .python-version
  4. .style.yapf
  5. client.py
  6. CONTRIBUTING.md
  7. csv_uploader.py
  8. LICENSE
  9. list_instances.py
  10. list_tasks.py
  11. README.md
  12. sample.csv
README.md

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.