Planned Changes and Issues Log
-
Planned Changes and Issues Log
This table provides details of scheduled changes and known issues that we are currently working to address. If you are aware of any issues not captured in this table please report to box.OpenData.ESO@nationalgrideso.com
NOTE: The table has now been sorted in descending order meaning new planned changes or issues will now appear on the top.
CKAN Data API
Access resource data via a web API with powerful query support.
Further information in the
main CKAN Data API and DataStore documentation
.
The Data API can be accessed via the following actions of the CKAN action API.
Query |
https://data.nationalgrideso.com/api/3/action/datastore_search
|
---|---|
Query (via SQL) |
https://data.nationalgrideso.com/api/3/action/datastore_search_sql
|
A simple ajax (JSONP) request to the data API using jQuery.
var data = { resource_id: '23021dfa-a3b8-4f62-93bc-b60186c53fa4', // the resource id limit: 5 // get 5 results }; $.ajax({ url: 'https://data.nationalgrideso.com/api/3/action/datastore_search', data: data, dataType: 'jsonp', success: function(data) { alert('Total results found: ' + data.result.total) } });
A simple ajax (JSONP) request to the data API using jQuery.
import urllib2 url = 'https://data.nationalgrideso.com/api/3/action/datastore_search?resource_id=23021dfa-a3b8-4f62-93bc-b60186c53fa4&limit=5' fileobj = urllib2.urlopen(url) print fileobj.read()