No description or website provided.
Python JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
test
.gitignore
README.md

README.md

Politmus API

Prototype Web Service API for Politmus.

The prototype API is written in Python and runs on Google App Engine. There is a live version of the code, including documentation, running on http://politmus-api.appspot.com.

The prototype does not implement any of the authentication features stated in the documentation. Please do not use this to collect real or potentially sensitive data.

Local Development

To run the prototype API locally follow these steps.

This will start the server on http://localhost:8080. Hit that URL to check it is working - it should redirect you to the documentation pages.

Importing Data

Sample data is included in the fixtures directory. You can import this data by requesting the following endpoints.

Run the tests

At this point you should be able to run the project's unit tests.

  • > python test/test.py