Wsparcie The Movie Database

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,

1 odpowiedź (strona 1 z 1)

Jump to last post

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.

https://api.themoviedb.org/3/tv/1399?api_key=###

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj