Soporte de The Movie Database

Hello,

I want to start off by saying a huge thank you to anyone who works on this API and all of the associated services.

I was wondering if there was a way and/or a recommendation for how to sort discover API queries by air_date? I want to display a list of episodes and sort by air_date over the next 2 weeks. By default the discover endpoint (and the on air endpoint) sort(s) by popularity, and although there are other sort options such as first_air_date, popularity and votes, there doesn't appear to be a way to sort by air_date. It appears there's some knowledge of this air_date under the hood, as its possible to use air_date as a filter argument and I believe this is how the "on the air" API works behind the scenes https://api.themoviedb.org/3/tv/on_the_air.

I can hit the details endpoint and find the next_episode_to_air, and then use that, but then I have to hit the details API for every single episode and I also lose the pagination behaviour baked into the discover API because i need to do my own sorting for the entire list before presenting it.

Thanks.

¿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