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.
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 ;)
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.
Travis Bell 的回复
于 2015 年 11 月 19 日 10:40上午
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 ;)
_kram2803 的回复
于 2015 年 11 月 19 日 2:33下午
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.
Travis Bell 的回复
于 2015 年 11 月 19 日 3:24下午
The
results
field is just an array, if you only want the first n items, just grab them from the array 😉