Soporte de The Movie Database

I am trying to sort the list of popular movies by using &sort_by=popularity.asc but the data coming from the api does not change. Here is the whole url :- https://api.themoviedb.org/3/movie/popular?api_key=API_KEY&page=1&sort_by=popularity.asc

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

Jump to last post

Hi @RoronoaHemesh, the popular endpoint doesn't support the "sort_by" option, it is sorted by popularity.desc by default. That is the whole purpose of the endpoint.

So, can you please tell me what can I do for sorting? I have a page where the popular movies are rendered and displayed, and I want to implement the sorting method like the one on the website.

If you read the doc for the popular endpoint previously referenced, there is a note at the top that explains how it is really a discover call, you can use discover to make changes to sorting and other options.

¿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