find_movie: Search for movies by title

Description Usage Arguments Details Value Examples

View source: R/query.R

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

1
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

Details

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

Value

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

movie_id

The movie's ID

title

The movie's title

year

The movie's year

description

The movie's description

rating

The movie's rating

mpaa_rating

The movie's rating by Motion Pictures Association of America

duration

The duration of the movie (in minutes)

image

The url of the movie art

image_last_checked

A datetime the movie art was last checked for

url_canistreamit

The movie's page on CanIStream.It

url_rottentomatoes

The movie's page on Rotten Tomatoes

url_imdb

The movie's page on IMDB

,

Examples

1
2
3
4
## Not run: 
  find_movie("Love Actually")

## End(Not run)

cablecuttr documentation built on May 29, 2017, 8:05 p.m.