Hi everyone!!
I'm trying to get all movies from some years, for example movies from 2014. I'm calling the API with the option discover and parameter year: 2014 but I'm getting movies from 20th century.
I already know that I have an option to get movies by release year, but i would like to know if it is possible to know how does year parameter work and which is the difference between year, primary_release_year and release_date.
Thank you very much!!
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 студзень 24, 2017 at 10:20 AM
Using the
year
filter looks at all of the release dates added to a movie so you're including all countries and types. So yes, you will no doubt be getting some data back for things like physical or digital releases in 2014 when in fact the movies was released in the 80's.You should use the
primary_release_year
filter to only look at the primary release dates. You can of course also use thewith_release_type
filter to narrow results to only theatrical data for instance.Reply by eduard.casellas
on студзень 24, 2017 at 11:24 AM
Ok! Thank you very much Travis! It is what I thought, I'll use primary_release_year then!