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.
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 14 maj 2015 vid 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.
Svar från dmarti98
den 14 maj 2015 vid 7:26 PM
That's what I wanted! I had troubles making the URL for the API search. Thanks for the help :)