Fundamentum SDK API
Fundamentum's HTTP(API) SDK
Getting Started
To get started with the SDK, you'll need to install Rust. You can follow the instructions on the official Rust website: Install Rust.
Example
use fundamentum_sdk_api::client::{config::Configuration, sdk_api::SdkApi};
#[tokio::main]
async fn main() {
let api_authorization_token = "api_token";
let token_file_string = "{ placeholder: \"\" }";
let token_file: TokenFile =
serde_json::from_str(&token_file_string).expect("Wrong token file");
let config = Configuration {
api_token: Some(api_authorization_token),
token_file: Some(token_file),
..Configuration::default()
};
let api = SdkApi::new(config);
api.status().await.unwrap();
}
Development setup
Please see the development setup guide.
License
Licensed under Apache License, Version 2.0 LICENSE