{"id":18555416,"url":"https://github.com/bearloga/cablecuttr","last_synced_at":"2025-04-09T23:32:17.961Z","repository":{"id":146996588,"uuid":"71739871","full_name":"bearloga/cablecuttr","owner":"bearloga","description":"An R wrapper for CanIStream.It API","archived":false,"fork":false,"pushed_at":"2020-03-06T17:44:01.000Z","size":26,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T13:44:13.042Z","etag":null,"topics":["api-wrapper","canistream","r","r-package","rstats","wrapper"],"latest_commit_sha":null,"homepage":"https://cran.r-project.org/package=cablecuttr","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bearloga.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-24T01:04:26.000Z","updated_at":"2025-03-22T11:12:13.000Z","dependencies_parsed_at":"2023-05-29T14:15:19.161Z","dependency_job_id":null,"html_url":"https://github.com/bearloga/cablecuttr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fcablecuttr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fcablecuttr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fcablecuttr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bearloga%2Fcablecuttr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bearloga","download_url":"https://codeload.github.com/bearloga/cablecuttr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248129921,"owners_count":21052663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-wrapper","canistream","r","r-package","rstats","wrapper"],"created_at":"2024-11-06T21:26:33.804Z","updated_at":"2025-04-09T23:32:17.953Z","avatar_url":"https://github.com/bearloga.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cablecuttr\nAn R wrapper for CanIStream.It API\n\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/cablecuttr)](https://cran.r-project.org/package=cablecuttr)\n[![CRAN Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/cablecuttr)](https://cran.r-project.org/package=cablecuttr)\n\n[CanIStream.It](http://www.canistream.it/) is a free service created by [Urban Pixels](http://www.urbanpixels.com/) that allows you to search across the most popular streaming, rental, and purchase services to find where a movie is available.\n\n## Installation\n\n```R\ninstall.packages(\"cablecuttr\")\n```\n\nTo use the development version:\n\n```R\n# install.packages(\"remotes\")\nremotes::install_github(\"bearloga/cablecuttr\")\n```\n\n## Usage\n\nYou can look up streaming/rental/purchase/etc. options for a movie by using `can_i_stream_it()`, which requires the movie's title and the media type:\n\n```R\ncan_i_stream_it(\"Love Actually\", \"streaming\")\n# Found more than one movie matching 'Love Actually'\n# Defaulting to first result: Love Actually (2003) [4e79a720f5f8071e7e000000]\n```\n\n|friendly_name   |external_id | price|direct_url                                          |short_url                                             |last_checked        |\n|:---------------|:-----------|-----:|:---------------------------------------------------|:-----------------------------------------------------|:-------------------|\n|Netflix Instant |60031262    |     0|http://dvd.netflix.com/Movie/Love-Actually/60031262 |http://canistream.it/link/go/5237a5b1f5f807362d000000 |2017-01-12 15:24:57 |\n\nBehind the scenes, it uses `find_movie()` to fetch the movie's ID. In case of multiple matches, it defaults to the first result. You can call it directly:\n\n```R\nfind_movie(\"Toy Story\")[, c(\"title\", \"year\", \"movie_id\")]\n```\n\n|title                      | year|movie_id                 |\n|:--------------------------|----:|:------------------------|\n|Toy Story                  | 1995|4eb04731f5f807d30f000012 |\n|Toy Story 2                | 1999|4eb04731f5f807d30f000011 |\n|Toy Story of Terror!       | 2013|52507c01f5f807682d000004 |\n|Toy Story of Terror!       | 2013|52768d6951cf33b20f73791c |\n|Toy Story That Time Forgot | 2014|5474f881a3f5ec3f71b6c06b |\n|Toy Story 3                | 2010|4eb044b8f5f807167c00000e |\n|A Syrian Love Story        | 2015|55f8a7d2f5f807cd2cbb379f |\n\nAnd then pick a specific **movie_id** to give to `can_i_stream_id()`:\n\n```R\n# Toy Story (1995)\ncan_i_stream_id(\"4eb04731f5f807d30f000012\", \"rental\")\n```\n\n|friendly_name       |external_id       |price |direct_url                                                                                 |short_url                                             |last_checked        |\n|:-------------------|:-----------------|:-----|:------------------------------------------------------------------------------------------|:-----------------------------------------------------|:-------------------|\n|Amazon Video Rental |B005ZMV2EQ        |2.99  |https://www.amazon.com/Toy-Story-Tim-Allen/dp/B005ZMV2EQ                                   |http://canistream.it/link/go/4f1f34a7f5f807dd3d000023 |2017-01-12 11:38:23 |\n|Apple iTunes Rental |188703840         |2.99  |https://itunes.apple.com/us/movie/toy-story/id188703840?uo=4\u0026at=10lcsB                     |http://canistream.it/link/go/4f1f34a8f5f807dd3d000024 |2017-01-12 11:38:25 |\n|Youtube Rental      |c3986gGp3Qs       |2.99  |https://www.youtube.com/watch?v=c3986gGp3Qs                                                |http://canistream.it/link/go/4f1b791cf5f807e74f000026 |2017-01-12 11:38:24 |\n|Google Play Rental  |movie-c3986gGp3Qs |2.99  |https://play.google.com/store/movies/details/Toy_Story?id=c3986gGp3Qs\u0026PAffiliateID=100l3vd |http://canistream.it/link/go/4f47f373f5f807665b000015 |2017-01-12 11:38:24 |\n\n## Code of Conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](https://github.com/bearloga/cablecuttr/blob/master/CONDUCT.md). By participating in this project you agree to abide by its terms.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearloga%2Fcablecuttr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearloga%2Fcablecuttr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearloga%2Fcablecuttr/lists"}