The Movie Database-ondersteuning

Where do I find the ID numbers for any given person?

2 antwoorden (op pagina 1 van 1)

Jump to last post

Im using the http://api.themoviedb.org/3/person/287(or whichever)?api_key=### api call to grab people, but I have no clue how to find out what a specific actor's id number is. Is John Wayne 213? or 124? or 654? I have no clue. I feel like this is a dumb question but I've been looking for two days and cant find an answer. Please help.

Hi elijahvazquez,

The most common way you would retrieve these ids is by searching. Search for a person and then in the response, there's a results array. Iterate over the items returned and you can get the IDs.

You would do the same on the movie side, you could find the movies you're interested in and then thinking about cast, grab the credits array and parse each person that way as well.

Alternatively, depending on your needs, you can start at ID 1 and just iterate up to the last id in our db, found by using the /person/latest method.

Film of tv-serie niet gevonden? Log dan in om deze te creëren.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op TV seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met TV-programma's

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c gesloten of open
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen