DataPress
  • DataPress API
  • Export Metadata
  • Getting an API Key
  • Updating a Dataset
  • CKAN Requests
Powered by GitBook
On this page

Was this helpful?

DataPress API

NextExport Metadata

Last updated 6 years ago

Was this helpful?

Using the API

DataPress' API is an interface for reading and updating the data catalogue using JSON.

Internally, all datasets and resources are stored as JSON documents. They can be queried and updated using standard GET, POST and PATCH semantics.

Install a JSON browser extension when playing with the API. It makes it easy to switch between viewing the catalogue as a web page: And viewing the underlying JSON document: The only difference is the /api/ in the address.

https://data.london.gov.uk/dataset/electricity-consumption-borough
https://data.london.gov.uk/api/dataset/electricity-consumption-borough