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
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ticao2 🇧🇷 pt-BR
le 1 juillet 2022 à 22h02
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:
Réponse de Sahil90
le 1 juillet 2022 à 22h45
Can you teal me how to find poster img in Api?
Réponse de lincolnrassel40
le 2 juillet 2022 à 07h50
@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?
Réponse de ticao2 🇧🇷 pt-BR
le 2 juillet 2022 à 08h42
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.