Soporte de 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 respuesta (en la 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.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión