[ckan-discuss] Examples of how to query CKAN api
Peder Jakobsen | gmail
pjakobsen at gmail.com
Wed Jun 26 22:49:31 BST 2013
Hi, looking at "examples" in the CKAN documentation at
http://docs.ckan.org/en/latest/apiv3.html#examples I see that there is in
fact only one example, and it's simplistic. It would be good to have some
documentation on how to query the api with various combinations of search
parameters. For example, how do you find all datasets published by a
certain organization with specific tags published between two dates, etc.
Even something as simple as querying with multiple keywords would be great.
http://tennis.data.org/api/search/dataset?q=organization:wimbledon&q=keywords:roger,andy,rafa,nole&start=0&rows=100<http://data.gc.ca/data/api/search/dataset?q=organization:statcan&q=keywords:nhs&start=0&rows=100>
(Above example does not work because of commas in keywords - how to do
multiple keywords, hmm?)
Kindly,
Peder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20130626/4f41082d/attachment.htm>
More information about the ckan-discuss
mailing list