I am using tmdb api to fetch movie data, such as popular movies. Currently I can only get 20 movies ("page":1) using the api provided. According to the JSON file, there are far more movie entries after this (e.g. "total_results":802, "total_pages":41). However, I couldn't figure out a way to get that part of data. Can anyone help? Thanks!
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от Michael
, 26 декабря 2015 в 06:56
see documentation here http://docs.themoviedb.apiary.io/#reference/movies/moviepopular
just attach ...&page=5 to the url/call to get page number 5
Ответ от mcneils
, 19 апреля 2018 в 15:30
ok but this gets page number 5, is it possible to get page number 1-5 ?
Ответ от Travis Bell
, 20 апреля 2018 в 10:32
@mcneils If what you're asking is to get multiple pages in a single request, no, this is not possible.
Ответ от arashimdb
, 14 сентября 2018 в 07:51
Thats not fun !