summaryrefslogtreecommitdiff
path: root/src/bin/main.rs
blob: 8a4c8700598bb6cd85605d7f0d172f4e1538cd0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate twitch_api;
extern crate tokio;
extern crate dotenv;

use twitch_api::TwitchApi;
use std::env;

fn main() {
    dotenv::dotenv().unwrap();
    let mut twitch_api = TwitchApi::new(env::var("TWITCH_API").unwrap());
    let users = twitch_api.users(vec![], vec!["shroud"]);

    tokio::run(users);
}