Learn R Programming

cablecuttr (version 0.1.1)

find_movie: Search for movies by title

Description

You can use this to find the exact ID of the movie you are interested in, in case there are multiple remakes or if you only know a part of the movie's title.

Usage

find_movie(movie_name, user_agent = NULL)

Arguments

movie_name
The title of the movie to search for
user_agent
Allows specification of custom UA

Value

A data.frame of search results with the following columns:
,

Details

The API is a bit slow/unreliable, so if you get a HTTP 504 error, just re-run the call.

Examples

Run this code
## Not run: 
#   find_movie("Love Actually")
# ## End(Not run)

Run the code above in your browser using DataLab