https://github.com/progval/openquoteapi
Unified JSON/MessagePack API to several quote websites (mainly French and English ones)
https://github.com/progval/openquoteapi
Last synced: about 2 months ago
JSON representation
Unified JSON/MessagePack API to several quote websites (mainly French and English ones)
- Host: GitHub
- URL: https://github.com/progval/openquoteapi
- Owner: progval
- Created: 2012-06-30T17:09:45.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-08-06T20:33:16.000Z (over 9 years ago)
- Last Synced: 2025-02-12T05:37:39.078Z (10 months ago)
- Language: Python
- Homepage: http://djangoapps.progval.net/openquoteapi/
- Size: 79.1 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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).