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. :-)
Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de Travis Bell
em 26 março 2014 às 6:38 PM
Hi EuroNymuz,
Yes, ids are gone forever once they've been deleted. They will never be reused.
Thanks!
Resposta de EuroNymuz
em 27 março 2014 às 12:28 PM
Perfect :-) Thank you!