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.

Source Distribution

dj-apibrowser-0.2.0.tar.gz (3.2 kB view hashes)

Uploaded source

Built Distribution

dj_apibrowser-0.2.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page