{"id":13503037,"url":"https://github.com/age-rs/libtwitch-rs","last_synced_at":"2025-12-30T05:58:29.087Z","repository":{"id":52415754,"uuid":"208603164","full_name":"age-rs/libtwitch-rs","owner":"age-rs","description":"Twitch API library written in Rust","archived":true,"fork":true,"pushed_at":"2022-02-03T18:40:59.000Z","size":176,"stargazers_count":13,"open_issues_count":6,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-31T22:33:50.319Z","etag":null,"topics":["api-wrapper","rust","twitch","twitch-api"],"latest_commit_sha":null,"homepage":"https://docs.rs/libtwitch-rs/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"hatmatter/twitch_api","license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/age-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-15T14:06:39.000Z","updated_at":"2023-01-28T03:25:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/age-rs/libtwitch-rs","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/age-rs%2Flibtwitch-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/age-rs%2Flibtwitch-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/age-rs%2Flibtwitch-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/age-rs%2Flibtwitch-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/age-rs","download_url":"https://codeload.github.com/age-rs/libtwitch-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246190184,"owners_count":20737987,"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","rust","twitch","twitch-api"],"created_at":"2024-07-31T22:02:34.413Z","updated_at":"2025-12-12T13:04:42.223Z","avatar_url":"https://github.com/age-rs.png","language":"Rust","funding_links":[],"categories":["Rust","Libraries"],"sub_categories":["Rust"],"readme":"\n# Archived\n  \n  \n      The Twitch v5 API is scheduled to be shutdown at the end of February \n      2022.\n    \n\n\n## libtwitch-rs [![docs.rs][5]][6] [![crates.io version][1]][2] [![dependency status][3]][4] ![GNU LGPLv3][lgpl-logo]\nA Rust library for the Twitch APIv5 (Kraken).\n\n# Contributing\nHelp for this project is highly appreciated. This was built against Twitch APIv5 (Kraken). \nTake a look into the [issues](https://github.com/simonsan/libtwitch-rs/issues) if you want to contribute to the project.\n\nFork it, implement your changes and make a Pull-Request against the `feature-dev` branch of this repo. \n\n# Usage\n```\nuse libtwitch_rs;\nuse libtwitch_rs::users;\n\n...\n\nlet mut c = libtwitch_rs::new(String::from(CLIENTID));\nc.set_oauth_token(TOKEN);\n\nif let Some(user) = match users::get(\u0026c) {\n    Ok(r)  =\u003e { assert!(r.email.is_some()); Some(r) },\n    Err(r) =\u003e { println!(\"{:?}\", r); assert!(false); None }\n    } {\n    let user_id = user.id.to_string();\n\n    match users::get_by_id(\u0026c, \u0026user_id) {\n        Ok(r)  =\u003e assert_eq!(r.name, user.name),\n        Err(r) =\u003e { println!(\"{:?}\", r); assert!(false); }\n    }\n}\n```\n\n# Supported API versions\n\n__Important Note:__ Kraken is deprecated and Helix (the new API version) \nis out of scope of this repository currently. \n\nEndpoints         | Kraken/v5          | \n:----------------:|:------------------:|\nAnalytics         | :heavy_minus_sign: |\nBits              | :heavy_check_mark: |\nChannels          | :heavy_check_mark: |\nChat              | :heavy_check_mark: |\nClips             | :heavy_check_mark: |\nCollections       | :heavy_check_mark: |\nEntitlements      | :heavy_minus_sign: |\nGames             | :heavy_check_mark: |\nIngests           | :heavy_check_mark: |\nModeration        | :heavy_minus_sign: |\nSearch            | :heavy_check_mark: |\nStreams           | :heavy_check_mark: |\nSubscriptions     | :heavy_minus_sign: |\nTags              | :heavy_minus_sign: |\nTeams             | :heavy_check_mark: |\nUsers             | :heavy_check_mark: |\nVideos            | :heavy_check_mark: |\nWebhooks          | :heavy_minus_sign: |\n\n\n# Links\n## Helpful Documentation\n- [Token test, infos incl. Channel_ID](https://codepen.io/Alca/pen/VwwazOK)\n- [Achieve Authorization for a bot](http://web.archive.org/web/20191016034229/https://d-fischer.github.io/twitch-chat-client/docs/examples/basic-bot.html)\n- [Twitch API Guide](https://dev.twitch.tv/docs/api/guide)\n\n## Token Generation\n- [Token generator](https://twitchtokengenerator.com/)\n- [Twitch IRC OAuth generator](https://twitchapps.com/tmi/)\n\n## Repositories:\n- [Twitch library (C#)](https://github.com/TwitchLib/TwitchLib)\n- [Twitch library (PHP)](https://github.com/Dkamps18/PHP-Twitch-lib/)\n- [Python Twitch client](https://github.com/tsifrer/python-twitch-client)\n- [TwitchIO, Twtich Bot/API wrapper (Python)](https://github.com/TwitchIO/TwitchIO)\n\n\n# License\nGNU LGPL-3.0-or-later; see [copying.md](copying.md) and [legal/LGPL-v3](legal/LGPL-v3).\n\n\n[1]: https://img.shields.io/crates/v/libtwitch-rs.svg?style=flat-square\n[2]: https://crates.io/crates/libtwitch-rs\n[3]: https://deps.rs/repo/github/age-rs/libtwitch-rs/status.svg\n[4]: https://deps.rs/repo/github/age-rs/libtwitch-rs\n[5]: https://docs.rs/libtwitch-rs/badge.svg\n[6]: https://docs.rs/libtwitch-rs/latest/\n[lgpl-logo]: https://www.gnu.org/graphics/lgplv3-88x31.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fage-rs%2Flibtwitch-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fage-rs%2Flibtwitch-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fage-rs%2Flibtwitch-rs/lists"}