The Movie Database support

Hello, i tried to sort by primary release year and by the average_vote but it wont work out.

Here's an example of how i tried to add the primary_release_year:

https://api.themoviedb.org/3/genre/27/movies?primary_release_year=1999&api_key=key

What am i doing wrong?

Bests

3 svar (på side 1 af 1)

Jump to last post

Hi Abaklizki,

/genre/{ID}/movies doesn't support primary_release_year. You'll want to move your query over to /discover/movie for this:

https://api.themoviedb.org/3/discover/movie?api_key=###&with_genres=27&primary_release_year=1999&sort_by=vote_average.desc

Cheers.

Hi Travis, thanks for the reply. I just hoped that i dont have to do this step :D

Bests

Hi Alex,

The results from /genre/{ID}/movies are the same as /discover/movie, it's just that discover supports a lot more filters and options. There's no extra step, same steps required no matter which way you go at it ;)

Cheers.

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