You can't in 1 query, you would have to do it in 11 (popular call + the first 10 ids). Once you have the /movie/popular results, you can iterate over the first 10 items in the results array and call the /movie/{id} method. You can use append_to_response to call the videos method at the same time like so:
Reply by jasonbourne1224
on March 18, 2016 at 4:35 PM
I am currently using http://api.themoviedb.org/3/movie/popular?api_key=### but its returning more pages
Reply by Travis Bell
on March 19, 2016 at 3:48 PM
Hi jasonbourne1224,
You can't in 1 query, you would have to do it in 11 (popular call + the first 10 ids). Once you have the /movie/popular results, you can iterate over the first 10 items in the
results
array and call the /movie/{id} method. You can useappend_to_response
to call the videos method at the same time like so:The ID in this case as an example is
550
.Hope that helps.