how to get the number of pages in themovie db.I want to create a pagination that displays pages like 1 of {total number of pages}. But I can't find any information about this.
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от ticao2 🇧🇷 pt-BR
, 17 ноября 2023 в 07:45
At the bottom of this page is the number of items currently in TMDb.
https://www.themoviedb.org/about
Responses to API Requests usually have information at the beginning or end of the page.
How many items and how many pages the request can have.
The number is the total but there is a limit of 500 pages.
It can provide 800 pages but you can only access the first 500.