I was wondering how to get a list of movies that were released within a certain year. Generally I am looking for a way to store this data using Python, but I have no clue on how to do it. Any help or suggestions would be appreciated.
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de Travis Bell
pe data de 14 mai 2015 la ora 12:32 PM
Hi dmarti98,
While I can't offer much help when it comes to Python, from the API side of things you can do this a few different ways with the /discover/movie method. You can use any combination of the
primary_release_year
,primary_release_date.gte
,primary_release_date.lte
,release_date.gte
,release_date.lte
andyear
params.Cheers.
Răspuns de dmarti98
pe data de 14 mai 2015 la ora 7:26 PM
That's what I wanted! I had troubles making the URL for the API search. Thanks for the help :)