Hi,
I've been using this api link https://api.themoviedb.org/3/tv/popular?api_key=#### and it is working properly.
I just want to ask if I can add the number_of_seasons using the link above?
I've tried to use this link but it does not give me the number of seasons per tv series. https://api.themoviedb.org/3/tv/popular?api_key=####&append_to_response=number_of_seasons
Thanks,
Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.
Vēlies novērtēt šo vienumu vai pievienot to sarakstam?
Neesi dalībnieks?
Atbilde no Travis Bell
on jūlijs 19, 2016 at 4:30 PM
Hi CodeKid,
append_to_response
is only supported on the primary id methods. In order to get the number of seasons, you would have to iterate over each series and call the series info method. Ie.