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,
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on July 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.