list_item_status {TMDb} | R Documentation |
Verify the presence of a movie in a list.
Description
Check to see if a movie ID is already added to a list.
Usage
list_item_status(api_key, id, movie_id)
Arguments
api_key |
Your TMDb Consumer Key. |
id |
The list ID. |
movie_id |
The movie ID to check. |
Value
A list with the following fields:
id |
The list ID. |
item_present |
A logical value that indicates if a movie belongs (TRUE) or not (FALSE) to the list. |
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"
list_item_status(api_key = api_key, id = "509ec17b19c2950a0600050d", movie_id = "279")
## End(Not run)
[Package TMDb version 1.1 Index]