INTEROPERABILITY

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 of the core functionality of a CKAN website (everything you can do with the web interface and more) can be used by external code that calls the CKAN API. For example, using the CKAN API, your application can:

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

https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/package_list
https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/group_list
https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/tag_list

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

https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/package_show?id=mercadillo
https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/tag_show?id=Turismo
https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/group_show?id=comercio

Find packages or resources that match a query:

https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/package_search?q=mercadillo
https://opendata.aytosalamanca.es/datosabiertos/catalogo/api/3/action/resource_search?query=name:Instalaciones%20Deportivas.kml

To obtain detailed information on the CKAN API, access the url:

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