Django REST API
Project description
Installation
$ pip install django-rest-api
You must use Django 1.6 or higher.
Documentation
To begin with, you should read how to create your different API routes: URL Routing.
Then, you need to learn how to return your responses using our format: Responses format.
Finally, it could be useful to know why it is advisable to return the results in JSON: Format results server side. You could also custom the format results on the client side: Format results client side.
Two other helpful pages:
Get Data: to retrieve data from the request.
Auth Session: to add an authentication system to your API.
Example
You can see an example which use all functionalities of the plugin here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-rest-api-0.1.3.zip
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for django_rest_api-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d02c379ce6a915cdd8ae03c0023eb355c295b97f2cabd7ada9180f118df4c0 |
|
MD5 | 3137be19a83619883045f9be7d4699c6 |
|
BLAKE2b-256 | fe5cd6d4ead70c96274e623ebe28ecba2a6d222c08ecc2b401eaa2f55fd240d1 |