[−][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::kraken::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 | |
kraken | |
response |
Structs
Credentials | |
TwitchClient |
Functions
new |