Skip to content
David Leoni edited this page Dec 30, 2013 · 5 revisions

These are just some random notes about CKAN access.

Since CKAN api can be messy at times, we set up a comparison table of fields names as they appear in the API and as they are displayed in dati.trentino.it

CURL

This works for resources, but apparently I cannot directly filter info of their datasets - wish I could do a join....


curl http://dati.trentino.it/api/3/search/resource -d '{"format":"xml", "description":"meteo"}'

{"count": 44, "results": ["1ffc83a8-bedb-4fa6-8d56-483e599cbf76", "0bbde12d-348d-43ea-8a30-078d59df5188", "ad5f9738-c63c-4efc-a375-8347e5d480c8", "7469a2af-6603-4228-98fd-9d7b09bfa1e8", "91fcf750-a024-4f95-a62b-111662075831", "7f7b3117-1583-44ad-ba12-de051866e011", "cb615ca5-2314-486a-ac2c-1fa21552cc5d", "353169ed-4c97-4bd2-9713-b1bd37e3ceed", "bdfbbacf-b6a1-4bec-a577-ee4cd08938dc", "d0c6eeb5-2945-479b-83c2-dcd9cdc889ab", "d7cdd2f4-5115-4e6d-a80c-2fdc16c4eb39", "f713d89a-880a-4db0-b9b5-d11e8d8915bc", "d32b9084-482f-4979-a9dd-69a910d3e908", "6b1f58cb-2684-4457-8113-123ff4f552c0", "fa950d55-f57c-4732-9acc-a60c53533cd0", "f835ba99-5237-42ff-a0a6-7f43cfe5b3ff", "5673876a-890d-48d5-b25b-9c9af5b00947", "5618cc5c-93bc-4089-a6d1-e919283187ad", "adfe4e6c-7166-4564-a7d0-acc0fa617523", "3d057024-c50d-4025-a7be-8f7752666342"]}


Clone this wiki locally