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. :-)
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 26 de marzo de 2014 a las 18:38
Hi EuroNymuz,
Yes, ids are gone forever once they've been deleted. They will never be reused.
Thanks!
Contestado por EuroNymuz
el 27 de marzo de 2014 a las 12:28
Perfect :-) Thank you!