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
Please any help would be great!
Etkö löydä elokuvaa tai TV-ohjelmaa? Kirjaudu sisään lisätäksesi se.
Haluatko pisteyttää vai lisätä tämän nimikkeen listaan?
Ei rekisteröitynyt jäsen?
Vastaus käyttäjältä Joel61
19 joulukuu 2015 klo 11:21PM
Bump
Vastaus käyttäjältä Travis Bell
23 joulukuu 2015 klo 11:46AM
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.