I was wondering how I limit the results to x results instead of 20 in a given query? here i am getting http://www.groupyoup.com/TMDb/ 306 total results but shows only 20 results how i show all results..how i give limit in params.
please help me on this.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on December 27, 2012 at 11:59 AM
Hi srinivas,
We do not support custom page sizes at this time. You will have to iterate through each page on your own.
Reply by softifiedmdb
on August 19, 2014 at 8:34 AM
When are we going to have this feature. You have a great API which reduces significant effort of a developer. With page limit and page numbers feature, it would be very easy to provide pagination.
Reply by Travis Bell
on August 19, 2014 at 11:45 AM
Hi softifiedmdb,
We have no plans to support custom page sizes. Pages are locked to 20 items per.
Cheers.
Reply by jamal_kani
on October 9, 2021 at 11:48 AM
how mush pages exists?
Reply by ticao2 š§š· pt-BR
on October 9, 2021 at 12:54 PM
The number/quantity of Items per Page and the number/quantity of Pages
cannot be changed, configured, specified, restricted, or anything like that.
There will always be up to 20 items per page.
And a maximum of 500 pages.
Therefore, at most 10,000 items.
Of course, depending on the parameters used in your API Request
this number/quantity can be much smaller.
Eventually zero.