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:
jasonbourne1224 válaszolt
Beküldve: 2016. március 18. 16:35
I am currently using http://api.themoviedb.org/3/movie/popular?api_key=### but its returning more pages
Travis Bell válaszolt
Beküldve: 2016. március 19. 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.