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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on July 1, 2022 at 10:02 PM
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:
Reply by Sahil90
on July 1, 2022 at 10:45 PM
Can you teal me how to find poster img in Api?
Reply by lincolnrassel40
on July 2, 2022 at 7:50 AM
@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?
Reply by ticao2 š§š· pt-BR
on July 2, 2022 at 8:42 AM
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.