A very simple API consumer, used to reset the 'Eve Demo' Web REST API
Python
Permalink
Failed to load latest commit information.
AUTHORS Rebecca Lau Feb 8, 2017
LICENSE Copyright 2015 Jan 12, 2015
README.rst Tweak grammar in the README Feb 8, 2017
client.py Accept API URL as command line argument Apr 19, 2016
requirements.txt requirements.txt Mar 6, 2013

README.rst

Eve Demo Client

Simple and quickly hacked together, this script is used to reset the Eve-Demo REST API to its inital state.

It will use standard API calls to:

  1. delete all items in the 'people' and 'works' collections
  2. post default items into both collections

I guess it can also serve as a basic example of how to programmatically manage a remote API using the phenomenal Requests library by Kenneth Reitz.