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.
Vil du vurdere eller legge til dette elementet i en liste?
Ikke et medlem?
Svar av Travis Bell
den 19 Juli 2016 kl. 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.