{"repo":"manosim/django-rest-framework-api-key","free":true,"listed":false,"github":"https://github.com/manosim/django-rest-framework-api-key","clone":"git clone https://github.com/manosim/django-rest-framework-api-key.git","description":"An extra layer of authentication for Web APIs made with Django REST Framework","language":"Python","stars":94,"topics":["django","django-rest-framework"],"license":"BSD-2-Clause","category":"auth-billing-email","readme_excerpt":"django-rest-framework-api-key [![travis][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url] [![pypi][pypi-image]][pypi-url] Authenticate Web APIs made with Django REST Framework Supports - Python (2.7, 3.3, 3.4, 3.5) - Django (1.8, 1.9, 1.10) - Django Rest Framework (3+) Installation Install using pip: pip install drfapikey Add 'rest framework api key' to your INSTALLED APPS setting: INSTALLED APPS = ( ... 'rest framework api key', ) Finally set the django-rest-framework permissions under your django settings: REST FRAMEWORK = { 'DEFAULT PERMISSION CLASSES': ( 'rest framework api key.permissions.HasAPIAccess', ) } Example Request Tests pyvenv env source env/bin/activate pip install -r requirements/requirements-testing.txt python runtests.py Contributing 1. Fork it! 2. Create your feature branch: git checkout -b my-new-feature 3. Commit your changes: git commit -am 'Add some feature' 4. Push to the branch: git push origin my-new-feature 5. Submit a pull request 6. Make sure tests are passing [travis-image]: https://travis-ci.org/manosim/django-rest-framework-api-key.svg?branch=master [travis-url]: https://travis-ci.org/manosim/django-rest-framework-api-key [codecov-image]: https://codecov.io/github/manosim/django-rest-framework-api-key/coverage.svg?branch=master [codecov-url]:https://codecov.io/github/manosim/django-rest-framework-api-key?branch=master [pypi-image]: https://badge.fury.io/py/drfapikey.svg [pypi-url]: https://pypi.python.org/pypi/drfapikey/","default_branch":null,"files":null,"tree":[],"storefront":"/r/manosim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/manosim/django-rest-framework-api-key/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}