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.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ نوفمبر 19, 2015 في 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
بتاريخ نوفمبر 19, 2015 في 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
بتاريخ نوفمبر 19, 2015 في 3:24 مساءا
The
results
field is just an array, if you only want the first n items, just grab them from the array 😉