The Movie Database Support

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.

3 replies (on page 1 of 1)

Jump to last post

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 ;)

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.

The results field is just an array, if you only want the first n items, just grab them from the array 😉

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login