I know that the return obj is limited to 20 but is it possible to lessen it to 3 or 5 of the latest movies? This call will be used on the home page and 20 seems to many as I will be outputting tv-shows as well.
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 November 19, 2015 at 10:40 AM
Hi _kram2803,
No, it is not possible to limit the results. With gzip the difference is going to be very small. The popular movie method is already only ~5.7KB gzipped, so I don't think this is much of a concern ;)
Reply by _kram2803
on November 19, 2015 at 2:33 PM
I just meant in UI perspective showing all 20 movies isn't really necessary for the homepage well at least in my case though. Say like the themoviedb home page its only showing 3 latest/upcoming movies then half is about tv shows.
Reply by Travis Bell
on November 19, 2015 at 3:24 PM
The
results
field is just an array, if you only want the first n items, just grab them from the array 😉