The Movie Database Support Forum

Hi, is there a way for me to get a list of every episode in a series without needing to loop through https://api.themoviedb.org/3/tv/123/season/1 ? As it takes to long (12 seconds) to loop through 6 seasons of a show as I need to call it each season

EDIT 1:

Just found that you can do it this way https://api.themoviedb.org/3/tv/123?api_key=key&append_to_response=season/1,season/2,season/3,season/4,season/5,season/6

Is there a way to clean that up? e.g append_to_response=season/1-6

or even better, is there a way to get all the seasons without needing to know how many there are?

EDIT 2:

After doing more testing I have found this wont work for series like the Simpsons that has 27 seasons as the max number of calls is 20

https://api.themoviedb.org/3/tv/456?api_key={KEY}&append_to_response=season/1,season/2,season/3,season/4,season/5,season/6,season/7,season/8,season/9,season/10,season/11,season/12,season/13,season/14,season/15,season/16,season/17,season/18,season/19,season/20,season/21,season/22,season/23,season/24,season/25,season/26,season/27

Please any help would be great!

2 Antworten (Seite 1 von 1)

Jump to last post

Bump

Hi Joel61,

Unfortunately, no, there is no other way. In a show with more than 20 seasons case, you'll just have to make 2 calls.

Cheers.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden