Axuda de The Movie Database

HI is there any way to get ALL known episodes of a tv show? The only way i've found ends in too much API calls:

APICall_GetTvShow(ID)
---- For each season in TvShowInfo.Seasons
---- ---- ---- APICall_GetTVSeason
---- ---- ---- ---- For each episode in SeasonInfo.Episodes
---- ---- ---- ---- ---- APICall_GetEpisodeInfo(..... WITH credits AND ExternalIDs)

5 respostas (na páxina 1 de 1)

Jump to last post

Hi Stephan,

Each season call returns every episode. Ie. for Breaking Bad, 5 API calls gets you every episode.

Hi Travis

Yes, but without the ExternalIDs and Credits of each episode. I need the IDs to merge the episode informations with informations from TVDB and IMDB (if the user want mix the informations from different scrapers). I can't see any "append_to_response" to get all the informations with one GetTVSeason call...

Hi Stephan,

All of the credits are available in the season call (guest stars and crew) along with an append_to_response=credits for season regulars, but indeed, if you're looking for external_ids, you'll have to call the episode method.

Cheers.

Are there any plans to implement append_to_response=external_ids for season call? It's horrible to call each episode to get the external_ids (like The Simpsons with more than 570 episodes).

Hi Stephan,

No immediate plans, no. append_to_response on a season call will only append season level information, never episode. append_to_response is not designed to go a level down, it's designed to cover requests within the same scope as the "root" request.

I'm not sure what the right solution for this problem is. It could be a good use case for a multi get method, where atlas you could make (just an example) 10 requests at a time. There's a ticket for me to think about this here.

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