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!!
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 24 janeiro 2017 às 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.Resposta de eduard.casellas
em 24 janeiro 2017 às 11:24 AM
Ok! Thank you very much Travis! It is what I thought, I'll use primary_release_year then!