Every existing movie ID is between 0 and the result of movie/latest. Some IDs are empty because some movies were deleted.
To get a random movie, I would just sample an ID between 0 and movie/latest and retry until I don't get a 404 anymore. I'm thinking about remembering the 404-IDs to filter these IDs for future sampling. Is this legit or does it happen that movies are restored or free IDs retaken by new movies?
Btw, great API, great Site. :-)
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 Travis Bell
on March 26, 2014 at 6:38 PM
Hi EuroNymuz,
Yes, ids are gone forever once they've been deleted. They will never be reused.
Thanks!
Reply by EuroNymuz
on March 27, 2014 at 12:28 PM
Perfect :-) Thank you!