freedom-api 3.2.0

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

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

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

    Ok(())
}