The Movie Database support

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

2 svar (på side 1 af 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.

Kan du ikke finde en film eller TV-serie? Log in og opret den.

Global

s focus the search bar
p open profile menu
esc luk et åbent vindue
? open keyboard shortcut window

På mediesider

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

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

På alle billedesider

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

På diskussionssider

n opret ny diskussion
w toggle watching status
p toggle public/private
c toggle close/open
a åben aktivitet
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Indstillinger

Want to rate or add this item to a list?

Log ind