Suporte do 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 resposta (na página 1 de 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.

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade