Soporte de The Movie Database

Hi,

how to do what i wrote in the subject?

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

Jump to last post

Hi esses77,

To search by name: http://docs.themoviedb.apiary.io/#get-%2F3%2Fsearch%2Fperson

To get an ID once you have the ID: http://docs.themoviedb.apiary.io/#people

Hi Travis,

for example if I want all movies of X actor in 1 response is it possible?

I know I can get different pages for Tom Hanks like this:

http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=1

http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=2

...

http://api.themoviedb.org/3/discover/movie?with_cast=31&sort_by=release_date.asc&api_key=###&page=5

But is it possible only to get only 1 response with full filmography?

Sure:

https://api.themoviedb.org/3/person/31?api_key=###&append_to_response=credits

Make sure to consult the documentation for all of the available person methods.

Cheers.

Hi again,

thanks for the help Travis but as you might notice in the first links I posted the films are sorted by release_date, is there anyway I can use the link you posted but with films sorted by release_date?

Hi Cuervo,

No, if you need filtering and sorting, you'll have to stick with discover and make a separate request for each page.

¿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