freedom-api 3.2.0

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

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = Config::from_env()?;
    let client = Client::from_config(config);
    let tkn = client.new_token_by_satellite_id(2017, 1016).await?;

    println!("{:?}", tkn);
    Ok(())
}