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 encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 19 de noviembre de 2015 a las 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 ;)
Contestado por _kram2803
el 19 de noviembre de 2015 a las 14: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.
Contestado por Travis Bell
el 19 de noviembre de 2015 a las 15:24
The
results
field is just an array, if you only want the first n items, just grab them from the array 😉