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.
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 May 14, 2015 at 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.
Reply by dmarti98
on May 14, 2015 at 7:26 PM
That's what I wanted! I had troubles making the URL for the API search. Thanks for the help :)