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
Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.
Want to rate or add this item to a list?
Not a member?
Odpověď od ticao2 🇧🇷 pt-BR
01.07.2022 v 10:02 ODP.
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:
Odpověď od Sahil90
01.07.2022 v 10:45 ODP.
Can you teal me how to find poster img in Api?
Odpověď od lincolnrassel40
02.07.2022 v 7:50 DOP.
@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?
Odpověď od ticao2 🇧🇷 pt-BR
02.07.2022 v 8:42 DOP.
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.