karZten
karZten

Reputation: 31

CKAN - Why I only get a result with the first 10 from Count

With the CKAN API query I get a count = 47 (thats correct) but only 10 results.

How do I get all (=47) results with the API query?

CKAN API Query:

https://suche.transparenz.hamburg.de/api/3/action/package_search?q=title:Fahrplandaten+(GTFS)&sort=score+asc

From source: *For me the page loads very slowly, patience

https://suche.transparenz.hamburg.de/dataset?q=hvv-fahrplandaten+gtfs&sort=score+desc%2Ctitle_sort+asc&esq_not_all_versions=true&limit=50&esq_not_all_versions=true

Upvotes: 1

Views: 417

Answers (1)

Zoran Pandovski
Zoran Pandovski

Reputation: 2342

The count shows only the total number of results found. You can change the total number of results returned by setting up limit and row parameters. e.g https://suche.transparenz.hamburg.de/api/3/action/package_search?q=title:Fahrplandaten+(GTFS)&sort=score+asc&rows=100. The row limit is 1000 per query. You can find more info here

Upvotes: 2

Related Questions