Zotero API returns only 25 items
Hello everybody,
I've been trying to use the API for a web application I am developing for my school.
It occurred to me today that if I have a collection with let's say 90 items and try to call it with the API, I receive a JSON file with only 25 items. There always seems to be that limit, no matter if the collection has 90 or 250 items. Does anybody know why?
Thanks in advance!
Alex
I've been trying to use the API for a web application I am developing for my school.
It occurred to me today that if I have a collection with let's say 90 items and try to call it with the API, I receive a JSON file with only 25 items. There always seems to be that limit, no matter if the collection has 90 or 250 items. Does anybody know why?
Thanks in advance!
Alex
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
See this section of the API docs for details on how to change the limit (up to 100, though you generally don't want to change that for a public-facing application) and how to use the Link header for pagination:
https://www.zotero.org/support/dev/web_api/v3/basics#sorting_and_pagination