Skip to main content

prices/
prices.rs

1use reydenx::{
2    client::{Auth, Client},
3    model::platform::Platform,
4    prices::{get_categories, get_prices},
5};
6
7fn main() {
8    let mut client = Client::new(String::from("EMAIL"), String::from("PASSWORD"));
9
10    if let Ok(client) = client.auth() {
11        let res = get_prices(client, Platform::Twitch);
12        println!("{:#?}", res);
13
14        let res = get_categories(client);
15        println!("{:#?}", res);
16    }
17}