credit {TMDb} | R Documentation |
Retrieve credits.
Description
Get the detailed information about a particular credit record.
Usage
credit(api_key, credit_id, language = NA)
Arguments
api_key |
Your TMDb Consumer Key. |
credit_id |
The credit ID. |
language |
A ISO 639-1 code. |
Details
This is currently only supported with the new credit model found in TV. These ids can be found from any TV credit response as well as the tv_credits and combined_credits methods for people.
Value
A list with the following fields:
credit_type |
The credit's type. |
department |
The section to which a person belongs. |
job |
The job of a person. |
media |
Name, ID and character associated with the person. |
media_type |
The media's type. |
id |
The credit ID. |
person |
Name and ID of the character associated with the person. |
Note
The episodes object returns a list of episodes and are generally going to be guest stars. The season array will return a list of season numbers. Season credits are credits that were marked with the "add to every season" option in the editing interface and are assumed to be "season regulars".
Author(s)
Andrea Capozio
References
https://developers.themoviedb.org/3/getting-started
Examples
## Not run:
## An example of an authenticated request,
## where api_key is fictitious.
## You can obtain your own at https://www.themoviedb.org/documentation/api
api_key <- "key"
credit(api_key = api_key, credit_id = "52542282760ee313280017f9", language = "it")
## End(Not run)