Skip to main content

Generic GUI for any RESTful API

Project description

Generic GUI for any RESTful API

See the demo at https://apibrowser-demo.herokuapp.com/ (source).

dj-apibrowser itself is just a trivial middleware that serves APIBrowser, which is written in JS, and works purely in the web browser. It returns the APIBrowser HTML code whenever a web browser navigates to a page.

Installation

pip install dj-apibrowser

settings.py

  • Add dj_apibrowser.APIBrowserServerMiddleware to the list of MIDDLEWAREs.
  • If neccesary, specify on which endpoints should we serve APIBrowser. Default config means that this is disabled on paths starting from /admin/, and enabled on all other paths:
API_ENDPOINTS = [
    ('admin/', False),
    ('', True),
]

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 dj-apibrowser, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size dj_apibrowser-0.2.0-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dj-apibrowser-0.2.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page