Skip to content
Unified JSON/MessagePack API to several quote websites (mainly French and English ones)
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
logos
.gitignore
README
__init__.py
api.py
models.py
tests.py
urls.py
views.py

README

OpenQuoteApi is a Django application providing an open API (Application
Programming Interface) to developpers of quote browsing applications,
for example for Android.

If you do not want to host your own instance, you can use the one hosted
by ProgVal [1] 

This API was written for AndQuote [2] but should be suitable for any
other application.

[1] http://djangoapps.progval.net/openquoteapi/
[2] https://github.com/ProgVal/AndQuote

Documentation
=============

For the moment, the API is read-only.

For the URL schema, see urls.py, it should be clear enough.

The output format is JSON. I don't think it needs any documentation,
as it is easily human-readable. You can also get MessagePack data
instead of JSON by adding ?format=msgpack to the URL.

The /state/url/ URL is given GET parameters, and produces an URL. It is
not really part of the API, but it helps to format a clean URL,
particulary when you are using the API from a language you do not
master (in my case: Java).
Something went wrong with that request. Please try again.