A JSON API demo based on RESTArt.
-
Install the requirements
$ cd restart-jsonapi-demo $ virtualenv venv $ source venv/bin/activate (venv) $ pip install -r requirements.txt -
Run the API
(venv) $ restart blog.resources:api -
Consume the API
$ curl -i http://127.0.0.1:5000/articles $ curl -i http://127.0.0.1:5000/articles?include=author