The Movie Database support

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!!

2 svar (på side 1 af 1)

Jump to last post

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 the with_release_type filter to narrow results to only theatrical data for instance.

Ok! Thank you very much Travis! It is what I thought, I'll use primary_release_year then!

Kan du ikke finde en film eller TV-serie? Log in og opret den.

Global

s focus the search bar
p open profile menu
esc luk et åbent vindue
? open keyboard shortcut window

På mediesider

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

På alle billedesider

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

På diskussionssider

n opret ny diskussion
w toggle watching status
p toggle public/private
c toggle close/open
a åben aktivitet
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Indstillinger

Want to rate or add this item to a list?

Log ind