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,
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от Travis Bell
, 19 июля 2016 в 16:30
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.