right now when i run a search i get a whole page of respones how to i limit that to say 5 of the top movies and not the whole page ???????? whats the variable ?
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 april 13, 2014 at 10:00 AM
Hi jamiex304,
We do not support custom pagination settings. The
results
object is just an array. If you want to only show the first 5 elements, I believe you can useslice()
for that. You can look online for example of slice in JavaScript.Cheers.