Skip to main content

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.

Files for django-rest-api, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size django_rest_api-0.1.5-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-rest-api-0.1.5.zip (9.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page