Hi, Does Top rated subsection from Movies section contains information for all movies? If not then which section and subsection give me information for all the movies until now.
Thank you
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da ticao2 🇧🇷 pt-BR
il 1 luglio, 2022 alle 10:02PM
Yup. The problem is that we currently have approximately 706,000 movies in the Database
and an API Request only reports the first 10,000 movies.
So it would be necessary to make several API Requests to get the complete list.
Approximately 70 API Requests.
If you want to know how many and which movies there are, take the list of valid IDs.
https://developers.themoviedb.org/3/getting-started/daily-file-exports
Contains a list with this type of data:
Risposta da Sahil90
il 1 luglio, 2022 alle 10:45PM
Can you teal me how to find poster img in Api?
Risposta da lincolnrassel40
il 2 luglio, 2022 alle 7:50AM
@ticao2 , I see that in the** /movie/top_rated** subsection there are 504 pages and 10076 results or movies. How can I get results of 706,000 movies? or Does ** /movie/top_rated** subsection contains only 10076 movies?
Risposta da ticao2 🇧🇷 pt-BR
il 2 luglio, 2022 alle 8:42AM
But you can only access up to page 500 or 10,000 movies.
Considering that "Top Rated" is the result of user votes, you would need to have the vote data for the 706,000 movies.
As we have a limit of 10,000 movies per Request, you would need to make 70 API Requests, probably using the Discover type.
Perhaps separating the Requests by period or by year.
Then you group all the answers and sort by "vote_average".
As I said before, making an API Request of the "Top Rated" type you can only access the initial 10,000 "Top Rated" movies.
There is no API Request that returns in the response the list of all 706,000 movies in the Database
classified by "Top Rated or "vote_average", or any other classification.