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:
Antwort von jasonbourne1224
am 18. März 2016 um 16:35
I am currently using http://api.themoviedb.org/3/movie/popular?api_key=### but its returning more pages
Antwort von Travis Bell
am 19. März 2016 um 15:48
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.