The Movie Database-ondersteuning

Hey, Is there any way to get all of the episodes data of a series with a single query? Or should I make subqueries for every season?

2 antwoorden (op pagina 1 van 1)

Jump to last post

Hi @ballazx, not in 1 request, but there is a way can do it in 2. If you you make a top level series call to get the number of seasons that are present, you can then use append_to_response to grab them.

An example grabbing the first 2 seasons of Game of Thrones:

https://api.themoviedb.org/3/tv/1399?api_key=###&append_to_response=season/1,season/2

Since the API doesn't fail on nonexistent append_to requests you can add 0-19 (it will only take 20 sub requests in all) should be plenty for most series? Reduce numbers if you have more sub requests... (edit suggesting from 50 after trying out...)

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen