Skip to content
jeffreyspaan edited this page Aug 20, 2018 · 7 revisions

getById(options, parameter1, parameter2)

This method allows you to get the general person information for a specific id, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getById({"id":287}, successCB, errorCB)

getMovieCredits(options, parameter1, parameter2)

This method allows you to get the movie credits for a specific person id, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getMovieCredits({"id":287}, successCB, errorCB)

getTvCredits(options, parameter1, parameter2)

This method allows you to get the TV credits for a specific person id, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getTvCredits({"id":287}, successCB, errorCB)

getCredits(options, parameter1, parameter2)

This method allows you to get the combined (movie and TV) credits for a specific person id, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getCredits({"id":287}, successCB, errorCB)

getExternalIds(options, parameter1, parameter2)

This method allows you to get the external ids (imdb_id, freebase_mid, freebase_id, tvrage_id) for a specific person id, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getExternalIds({"id":287}, successCB, errorCB)

getImages(options, parameter1, parameter2)

This method allows you to get the images for a specific person id, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getImages({"id":287}, successCB, errorCB)

getTaggedImages(options, parameter1, parameter2)

This method allows you to get the images that a specific person has been tagged in, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getTaggedImages({"id":287}, successCB, errorCB)

getChanges(options, parameter1, parameter2)

This method allows you to get the changes for a specific person id, it accepts three parameters, the first one must be an object that must have a person id and can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getChanges({"id":287}, successCB, errorCB)

getPopular(options, parameter1, parameter2)

This method allows you to get the list of popular people on The Movie Database (this list refreshes every day), it accepts three parameters, the first one must be an object that can have one (or more) of the allowed options, the other two parameters must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getPopular({"id":287}, successCB, errorCB)

getLatest(parameter1, parameter2)

This method allows you to get the most newly created person, it accepts two parameters that must be functions and will be used as callbacks for the request.

See the allowed options here.

Call the method:

theMovieDb.people.getLatest(successCB, errorCB)
Clone this wiki locally