The Movie Database támogatás

Hi,

how to do what i wrote in the subject?

5 válasz érkezett (1 / 1 oldalból)

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.

Nem találsz egy filmet vagy egy sorozatot? Jelentkezz be és hozd létre.

Globális

s focus the search bar
p profil menü megnyitása
esc close an open window
? billentyűparancsok ablak megnyitása

Minden média oldalon

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(jobbra nyíl) ugrás a következő évadra
(balra nyíl) vissza az előző évadra

Tévéepizód oldalakon

(jobbra nyíl) ugrás a következő részre
(balra nyíl) vissza az előző részre

Minden kép oldalon

a kép hozzáadása ablak megnyitása

Minden szerkesztő oldalon

t fordítás választó megnyitása
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l ugrás az utolsó válaszhoz
ctrl+ enter submit your message
(jobbra nyíl) következő oldal
(balra nyíl) előző oldal

Beállítások

Want to rate or add this item to a list?

Bejelentkezés