CKAN API

The Data Works API is driven by CKAN. Read the full CKAN API documentation for further details. Some example uses, taken from the core documentation:

CKAN’s Action API is a powerful, RPC-style API that exposes all of CKAN’s core features to API clients. All of a CKAN website’s core functionality (everything you can do with the web interface and more) can be used by external code that calls the CKAN API.

List all Dataset http://dataworks.calderdale.gov.uk/api/3/action/package_list
View a Dataset http://dataworks.calderdale.gov.uk/api/3/action/package_show?id=contracts
Search for Datasets related to ‘contracts’ http://dataworks.calderdale.gov.uk/api/3/action/package_search?q=contracts
Search for files related to ‘tourism’ http://dataworks.calderdale.gov.uk/api/3/action/resource_search?query=name:tourism