Soporte de The Movie Database

I am writing an application to find the latest episode of a list of shows, but I was wondering if there was a way to do this in one request.

Currently I:

  1. use 'https://api.themoviedb.org/3/tv/SHOW_ID' to find number of seasons, and then
  2. use https://api.themoviedb.org/3/tv/{show_id}/season/NUM_SEASONS' to find the latest show

Is there any way of using append to response to limit myself to one API call per show?

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

Jump to last post

There is currently no way to do this with a single call but I do have an open ticket for next episode to air, last episode to air and a last air date.

I will update this post when it is complete.

Hi Travis, the ticket is opened since 2015, I'd like to add my voice to Jordan for such a feature (actually, for the next episode to air). thanks

Just an update, tickets #470 and #471 were completed this morning. These two tickets include adding a last_episode_to_air and next_episode_to_air field to the TV series get details call. The documentation for the get details method can be found here.

P.S. you might not see the updated responses on all TV series yet, as some items will still need to be expired from the cache.

¿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 discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
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