Open Data Portal API

This section documents the CKAN API, for developers who want to write code that interacts with CKAN and its data.

The CKAN API is a powerful RPC-style API that exposes the core functions of CKAN to API clients. All the core functionality of a CKAN website

Get JSON-formatted lists of data sets for a site, groups, or other CKAN objects:

https://datosabiertos.elhierro.es/api/3/action/package_list
https://datosabiertos.elhierro.es/api/3/action/group_list
https://datosabiertos.elhierro.es/api/3/action/tag_list

Get a full JSON representation of a dataset, resource, or other object:

https://datosabiertos.elhierro.es/api/3/action/package_s$

https://datosabiertos.elhierro.es/api/3/action/tag_show?id=turismo

https://datosabiertos.elhierro.es/api/3/action/group_show?id=comercio

Find packages or resources that match a query:

https://datosabiertos.elhierro.es/api/3/action/package_search?q=mercadillo

https://datosabiertos.elhierro.es/api/3/action/resource_search?query=name$

Get an activity stream of recently modified data sets on a site:

https://datosabiertos.elhierro.es/api/3/action/recently_changed_packages_activity_l$

To obtain the detailed information of the CKAN API access the url:

http://docs.ckan.org/en/latest/api/