django-rest-api-0.1.5
توضیحات
Django REST API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-rest-api-0.1.5 |
| نام | django-rest-api |
| نسخه کتابخانه | 0.1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Skies |
| ایمیل نویسنده | aurelien.maigret@skies.io |
| آدرس صفحه اصلی | https://github.com/skies-io/django-rest-api |
| آدرس اینترنتی | https://pypi.org/project/django-rest-api/ |
| مجوز | MIT |
Django REST API
===============
Installation
------------
.. code:: bash
$ 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 <https://github.com/skies-io/django-rest-api/wiki/URL-Routing>`_.
Then, you need to learn how to return your responses using our format: `Responses format <https://github.com/skies-io/django-rest-api/wiki/Responses-format>`_.
Finally, it could be useful to know why it is advisable to return the results in JSON: `Format results server side <https://github.com/skies-io/django-rest-api/wiki/Format-results-server-side>`_.
You could also custom the format results on the client side: `Format results client side <https://github.com/skies-io/django-rest-api/wiki/Format-results-client-side>`_.
Two other helpful pages:
- `Get Data <https://github.com/skies-io/django-rest-api/wiki/Get-Data>`_: to retrieve data from the request.
- `Auth Session <https://github.com/skies-io/django-rest-api/wiki/Auth-Session>`_: to add an authentication system to your API.
Example
-------
You can see an example which use all functionalities of the plugin `here <https://github.com/skies-io/django-rest-api/tree/master/example>`_.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.6 | Django |
نحوه نصب
نصب پکیج whl django-rest-api-0.1.5:
pip install django-rest-api-0.1.5.whl
نصب پکیج tar.gz django-rest-api-0.1.5:
pip install django-rest-api-0.1.5.tar.gz