Hi all,
Is there a more efficient way to get 300k movies for a database besides sequentially sweeping and checking if a movie ID exists before requesting?
Discover only lets you access the first 500 pages of popular, but I'm trying to build a "six degrees of Kevin Bacon" type app, so I need many more movies to actually be able to find shortest links.
I don't want every movie in the database.
Just the top 300k English movies or so.
Thanks
Nie mo偶esz znale藕膰 filmu lub serialu? Zaloguj si臋, aby go utworzy膰.
Want to rate or add this item to a list?
Not a member?
Odpowied藕 u偶ytkownika ticao2 馃嚙馃嚪 pt-BR
10 lutego 2025 o godz. 7:15PM
You can get a list of all valid Movie IDs.
In this list, in addition to the IDs, you also get:
For example:
So you can sort all the IDs by popularity, on your side.
And eventually use only those with original titles in English.
You can find the list here:
https://developer.themoviedb.org/docs/daily-id-exports
Pay attention to the date format: MM_DD_YYYY
This is the maximum limit on any API Request.
The number/quantity of Items per Page and the number/quantity of Pages
cannot be changed, configured, specified, restricted, or anything like that.
There will always be up to 20 items per page.
And a maximum of 500 pages.
Therefore, at most 10,000 items.