{"id":21025780,"url":"https://github.com/koderkow/ttvcollections","last_synced_at":"2026-04-26T17:31:12.181Z","repository":{"id":134309464,"uuid":"314934529","full_name":"KoderKow/ttvCollections","owner":"KoderKow","description":"Download Twitch Highlights","archived":false,"fork":false,"pushed_at":"2020-11-22T01:42:15.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T04:30:29.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/KoderKow.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"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":"2020-11-22T01:09:26.000Z","updated_at":"2020-11-22T01:42:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"d067c622-0a32-413e-bf02-872a4aeb072f","html_url":"https://github.com/KoderKow/ttvCollections","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KoderKow/ttvCollections","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoderKow%2FttvCollections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoderKow%2FttvCollections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoderKow%2FttvCollections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoderKow%2FttvCollections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KoderKow","download_url":"https://codeload.github.com/KoderKow/ttvCollections/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KoderKow%2FttvCollections/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32307010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T17:23:19.671Z","status":"ssl_error","status_checked_at":"2026-04-26T17:23:19.195Z","response_time":129,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T11:36:38.280Z","updated_at":"2026-04-26T17:31:12.163Z","avatar_url":"https://github.com/KoderKow.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# ttvCollections\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nThe goal of ttvCollections is to download our highlights! This may turn into a separate package focusing on being a R wrapper for the Twitch API.\n\n## Installation\n\n- Make sure [youtube-dl](http://ytdl-org.github.io/youtube-dl/) is installed\n- Download from here with `remotes::install_github(\"koderkow/ttvCollections\")`\n\n## Envirnment Variables\n\nThere are three environment variables that are default values to function parameters. Set in .Renviron with `usethis::edit_r_environ()`.\n\n- TWITCH_CLIENT_ID\n- TWITCH_SECRET\n- TWITCH_USER_ID\n\n## Sample code\n\n### Auth\n\n```{r}\nlibrary(ttvCollections)\n\ntwitch_auth()\n```\n\n### Extract Highlights\n\n```{r}\nd \u003c- get_hightlights()\n\nd\n```\n\n### Download a Hightlight\n\n```{r}\nurls \u003c- d$url\n\ndownload_video(urls[5], \"sample-prefix\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoderkow%2Fttvcollections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoderkow%2Fttvcollections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoderkow%2Fttvcollections/lists"}