Soporte de The Movie Database

Is it possible to get top rated movies by year or release date in descending order?

6 respuestas (en la página 1 de 1)

Jump to last post

Sure, take a look at the discover method. It has 26 filters and sort options, you can build your own custom query with it.

hello. thanks for the reply. I tried discover method and when i used release date.desc, it showed details of movies which haven't released yet (in popular movie). Is there any filter that i can use which can show Popular movie or Top rated movie till the current date in descending order?

You'll want to use a number of filters together.

https://api.themoviedb.org/3/discover/movie?api_key=###&release_date.gte=2017-03-01&release_date.lte&2017-03-20&sort_by=popularity.desc

Is just a small example, feel free to build your own custom query to exactly what you want with anyone of the 26 filters.

There's a bunch of examples here: https://www.themoviedb.org/documentation/api/discover

I tried the the link you provided, it gave me error: status_message: "Internal error: Something went wrong, contact TMDb.", success: false, status_code: 11

I had a typo. This one works:

https://api.themoviedb.org/3/discover/movie?api_key=###&release_date.gte=2017-03-01&release_date.lte=2017-03-20&sort_by=popularity.desc

Thank you. One last question.. Can we filter movies with languages other than english? and what are keywords for that? Like for french or hindi or any other language?

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión