The Movie Database-støtte

Hello,

I am trying a test out on the API to call for data on a single individual, Brad Pitt, in this test. I use myAPI key with the following url: http://api.themoviedb.org/3/person/nm0000093?api_key=[removed for obvious reasons] and I get the following results returned to me:

{"status_code":6,"status_message":"Invalid id - The pre-requisite id is invalid or not found"}

I've have tried a number of people and the example at http://docs.themoviedb.apiary.io/#people and I get the same error.

Can anyone point out my error, or what I may be missing here?

Thank you,

c

4 svar (på side 1 av 1)

Jump to last post

I don't believe I have a person lookup with an IMDB id hooked up. You have to use a TMDb ID, ie.

http://api.themoviedb.org/3/person/287?api_key=###

Cheers.

Hi Travis,

Thank you for the reply. I will check in on the TMDb ID. Is there any chance of getting a IMDB ID lookup for person?

Cheers,

C

Hard to say, we don't even publicize the the fact that the movie method supports this and that is completely deliberate. I'll have to give it some thought.

Understood. Cheers.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p åpne profilmenyen
esc lukk et åpent vindu
? open keyboard shortcut window

On media pages

b gå tilbake (eller til foreldresiden når mulig)
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

On all image pages

a open add image window

On all edit pages

t open translation selector
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 go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Innstillinger

Vil du vurdere eller legge til dette elementet i en liste?

Logg inn