[−][src]Crate libtwitch_rs
libtwitch-rs
Rust library for interacting with the Twitch API: https://dev.twitch.tv/docs/
Examples
extern crate libtwitch_rs; use libtwitch_rs::games; let c = libtwitch_rs::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
Credentials | |
TwitchClient |
Functions
new |