[ckan-dev] get all open datasets, was: Re: filter_by_openness does not work; find all open Data Packages

David Read david.read at okfn.org
Fri Feb 10 15:53:09 UTC 2012


On 10 February 2012 14:59, Pascal Christoph <christoph at hbz-nrw.de> wrote:

> Hello David,
>
> thanks! I added the line to http://wiki.ckan.org/Using_the_API#Get_dataset.
>

Nice idea!

Yet one question: this query only gives me 10 of the 936 datasets. How to
> get
> them all?
>

You page through them using e.g. 'offset=5' for page 6 of results. You can
also change how many are on each page with say 'limit=50'.

David


>
> -o
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120210/936bb657/attachment-0001.html>


More information about the ckan-dev mailing list