Description Usage Arguments Details Value Functions Examples
Searches for the movie's availability on various online services/stores.
1 2 3 4 5 | can_i_stream_id(movie_id, media_type = c("streaming", "rental", "purchase",
"dvd", "xfinity"), user_agent = NULL, offline = FALSE)
can_i_stream_it(movie_name, media_type = c("streaming", "rental", "purchase",
"dvd", "xfinity"), user_agent = NULL)
|
movie_id |
The movie's ID, found by running |
media_type |
The type to search for:
|
user_agent |
Allows specification of custom UA |
offline |
A logical flag to simulate the API request |
movie_name |
The movie's name, which will be passed to
|
The API is a bit slow/unreliable, so if you get a HTTP 504 error, just re-run the call.
A data.frame with a row for each service/store and the following columns:
The name of the service/store
The ID of the movie/show
The movie's price on the service/store
The URL of the movie on the service/store
The CanIStream.It URL that redirects to service/store
The datetime the service was last checked
can_i_stream_id
: Query CanIStream.It by movie ID and media type
can_i_stream_it
: Query CanIStream.It by movie name and media type
1 2 3 4 5 6 7 8 9 10 | can_i_stream_id("4eb0173df5f8079d29000002", "purchase")
## Not run:
movie_id <- find_movie("The Babadook")$movie_id
can_i_stream_id(movie_id, "streaming")
## End(Not run)
## Not run:
can_i_stream_it("Tinker Tailor Soldier Spy")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.