I'm trying to get the quantity of total pages a query in https://api.themoviedb.org/3/search/movie has. I would use this value for pagination. Instead, I only get the 20 results with information for the 20 first movies, but I can't see no total_pages information in the retrieved data. I've seen people talking about this value in these forums through a research I've made. So my question is: is total_pages still available?
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
vitorary90님의 댓글
11월 29, 2023 at 12:00 오후
I found what I was doing wrong. Instead of retrieving response.data I was retrieving response.data.results.
Travis Bell님의 댓글
11월 29, 2023 at 12:05 오후
Hi @vitorary90,
It's there
Request
Response