Wsparcie The Movie Database

Sorry. I find the documentation hard to understand. Suppose I have a movie's TMDb or IMDb ID number. And in a web page, I wish to display (but not store) the top poster for that film.

I have an API key.

I may have grokked this a couple years back but it eludes me now.

1 odpowiedź (strona 1 z 1)

Jump to last post

If you have a TMDb ID, lets say id 550, you would issue this request:

https://api.themoviedb.org/3/movie/550?api_key=###

Grab the poster_path field (/2lECpi35Hnbpa4y46JX0aY3AWTy.jpg) in this case, an combine it with the details outlined in the configuration method. For the sake of this discussion, lets say the 'w500' size:

https://image.tmdb.org/t/p/w500/2lECpi35Hnbpa4y46JX0aY3AWTy.jpg

If you had an IMDB id (tt0137523 in this case), you would start with the find method…

https://api.themoviedb.org/3/find/tt0137523?api_key=###&external_source=imdb_id

Grab the id and pick up where I started above.

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