Resource index
Resource index
Resource index info
Avisos ciudadanos
Avisos ciudadanos recibidos (SIC-MiNT). Contenido y estructura del fichero |
|
| Publication date | June 25, 2015 |
|---|---|
| Format | |
| MIME Type | application/pdf |
| Size | 302.8 KB |
| Downloads | 303 |
| Resource Type | documentation |
| URL | https://datos.madrid.es/en/en/dataset/212411-0-madrid-avisa/resource/212411-39-madrid-avisa/download/212411-39-madrid-avisa.pdf |
| License | Creative Commons Attribution 4.0 International (CC BY 4.0) |
CKAN Data API
Api Info. Api more info
Endpoints »
Data Api Access
| Query |
https://datos.madrid.es/en/api/3/action/datastore_search
|
|---|---|
| Query (via SQL) |
https://datos.madrid.es/en/api/3/action/datastore_search_sql
|
Querying »
Query example (first 5 results)
https://datos.madrid.es/en/api/3/action/datastore_search?resource_id=212411-39-madrid-avisa&limit=5
https://datos.madrid.es/en/api/3/action/datastore_search?resource_id=212411-39-madrid-avisa&q=jones
Example: Javascript »
Filter by field value
A simple ajax (JSONP)
var data = {
resource_id: '212411-39-madrid-avisa', // the resource id
limit: 5, // get 5 results
q: 'jones' // query for 'jones'
};
$.ajax({
url: 'https://datos.madrid.es/en/api/3/action/datastore_search',
data: data,
dataType: 'jsonp',
success: function(data) {
alert('Total results found: ' + data.result.total)
}
});
Example: Python »
import urllib
url = 'https://datos.madrid.es/en/api/3/action/datastore_search?resource_id=212411-39-madrid-avisa&limit=5&q=title:jones'
fileobj = urllib.urlopen(url)
print fileobj.read()