{"id":13758344,"url":"https://github.com/sledgang/twitch","last_synced_at":"2025-05-10T08:30:23.596Z","repository":{"id":80748794,"uuid":"93671824","full_name":"sledgang/twitch","owner":"sledgang","description":"Twitch API binding in Crystal","archived":false,"fork":false,"pushed_at":"2019-09-20T18:06:45.000Z","size":65,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T15:37:38.274Z","etag":null,"topics":["api","crystal","irc","twitch"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sledgang.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2017-06-07T19:27:29.000Z","updated_at":"2018-10-19T00:41:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f25c5f08-a7b0-4fa4-90df-24583738d868","html_url":"https://github.com/sledgang/twitch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sledgang%2Ftwitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sledgang%2Ftwitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sledgang%2Ftwitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sledgang%2Ftwitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sledgang","download_url":"https://codeload.github.com/sledgang/twitch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389377,"owners_count":21900749,"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","crystal","irc","twitch"],"created_at":"2024-08-03T13:00:27.971Z","updated_at":"2025-05-10T08:30:23.340Z","avatar_url":"https://github.com/sledgang.png","language":"Crystal","funding_links":[],"categories":["Libraries"],"sub_categories":["Crystal"],"readme":"# twitch\n\nA binding to the [Twitch API](https://dev.twitch.tv/docs) implemented in [Crystal](https://crystal-lang.org/).\n\n### WIP - Still under heavy design/development!\n\n## Installation\n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  twitch:\n    github: y32/twitch\n```\n\n## Usage\n\nThere are several main components to the library:\n\n- `Twitch::Kraken` - Client for interacting with Twitch's REST API\n\n```crystal\nrequire \"twitch/kraken\"\n\ntwitch = Twitch::Kraken.new(token: \"cfabdegwdoklmawdzdo98xt2fo512y\")\n```\n\nRefer to the documentation for the kinds of requests you can make with this client.\n\n- `Twitch::IRC` - Client for building IRC applications\n\n```crystal\nrequire \"twitch/irc\"\n\nbot = Twitch::IRC.new(nick: \"nekka\", token: \"cfabdegwdoklmawdzdo98xt2fo512y\")\n\n# Create a handler to process incoming messages\nbot.on_message do |message|\n  # handle this message\nend\n\n# Connect to Twitch\nbot.run!\n```\n\n## Contributors\n\n- [Daniel-Worrall](https://github.com/Daniel-Worrall) - creator, maintainer, spec-man extraordinaire\n- [snapcase](https://github.com/snapcase) - creator, maintainer, IRC expert\n- [z64](https://github.com/z64) - creator, maintainer, script kiddie\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsledgang%2Ftwitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsledgang%2Ftwitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsledgang%2Ftwitch/lists"}