[−][src]Crate libtwitch_rs
Twitch API
Rust library for interacting with the Twitch API: https://dev.twitch.tv/docs/
Examples
extern crate twitch_api; use twitch_api::games; let c = twitch_api::new("<clientid>".to_owned()); // Print the name of the top 20 games if let Ok(games) = games::TopGames::get(&c) { for entry in games.take(20) { println!("{}: {}", entry.game.name, entry.viewers); } }
Modules
auth | |
channel_feed | |
channels | |
chat | |
communities | |
games | |
ingests | |
response | |
search | |
streams | |
teams | |
users | |
videos |
Structs
TwitchClient |
Functions
new |