freedom-api 4.0.0

Freedom API for Rustaceans
Documentation
1
2
3
4
5
6
7
8
9
10
11
use freedom_api::prelude::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::from_env()?;
    let me = client.whoami().await?.get_user(&client).await?;

    println!("{:#?}", me);

    Ok(())
}