Axuda de The Movie Database

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 respostas (na páxina 1 de 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.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión