list_item_status: Verify the presence of a movie in a list.

Description Usage Arguments Value Author(s) References Examples

View source: R/list_item_status.R

Description

Check to see if a movie ID is already added to a list.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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) 

TMDb documentation built on March 17, 2020, 1:06 a.m.

Related to list_item_status in TMDb...