DataPress API

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: https://data.london.gov.uk/dataset/electricity-consumption-borough And viewing the underlying JSON document: https://data.london.gov.uk/api/dataset/electricity-consumption-borough The only difference is the /api/ in the address.