You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current method limits one to getting a page of 10 results at a time for each API call, so to get more than 10 results, one has to call each page one by one.
I think I'd prefer it to have a default size and to remove pages entirely actually. Pages as a concept feels like they're trying to preempt how people will use the API, which is never a wise choice to make.
Add a ResultsLength option to every api call and a default length of 10.
The current method limits one to getting a page of 10 results at a time for each API call, so to get more than 10 results, one has to call each page one by one.
For example, to get 30 results, one would have to do:
http://www.omdbapi.com/?apikey=`key`&s=test&type=movie&page=1
http://www.omdbapi.com/?apikey=`key`&s=test&type=movie&page=2
http://www.omdbapi.com/?apikey=`key`&s=test&type=movie&page=3
The text was updated successfully, but these errors were encountered: