Soporte de The Movie Database

Hello i try to get the cast from a movie but it will nocht work :-( maybe you can help me :-)

I use this : http://themoviedb.apiary.io/3/movie/{id}/casts example: http://api.themoviedb.org/3/movie/49521/cast/?api_key=1111111111111111111 -> Result: Not Found example2: http://api.themoviedb.org/3/movie/tt0770828/cast/?api_key=1111111111111111111 -> Result: Not Found what am I doing wrong?

Thank you for your help,

David

4 respuestas (en la página 1 de 1)

Jump to last post

Hi diabetiker ,

You have a trailing slash and it's casts, not cast (yes, it's a bit of an idiom, I know).

http://api.themoviedb.org/3/movie/49521/casts?api_key=###

Cheers.

Thank you very much Travis Bell !

You would issue a /find query to get the TMDb id, and then make a credits method call.

https://api.themoviedb.org/3/find/tt2294629?api_key=###&language=en-US&external_source=imdb_id

Returns ID 109445, so then:

https://api.themoviedb.org/3/movie/109445?api_key=###&append_to_response=credits

Which will append cast and crew to your response in the credits key.

¿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