Twitch API | Rust library for talking with the new Twitch API aka. "Helix", EventSub and more!
See documentation for more info.
You can see current unpublished docs for the main branch here:
See examples for examples. If you want to run them locally, make sure you get the git submodules first.
use HelixClient;
use ;
async
Notes
This crate was previously available as twitch_api2
and has since been renamed to twitch_api
Goals
This crate aims to target
- Helix
- EventSub
- PubSub (without a client)
- See implemented topics
- PubSub is planned to be deprecated, with a EventSub websocket implementation
- Extensions
- No functionality implemented yet
This crate should also be able to be used for
There are no current plans to support
- GraphQL
- Drops (except what is in Helix)
- Twitch IRC Chat, use museun/twitch_message or robotty/twitch-irc
- Authentication, use twitch-rs/twitch_oauth2
- Undocumented Helix endpoints, i.e endpoints mobile Twitch app uses. Including working "hidden" endpoints