Crates.io | archaeologist |
lib.rs | archaeologist |
version | 1.1.4 |
source | src |
created_at | 2024-08-15 04:01:57.675622 |
updated_at | 2024-10-17 05:42:28.584935 |
description | Rust client for Artifacts |
homepage | |
repository | https://github.com/Enochen/archaeologist |
max_upload_size | |
id | 1338288 |
size | 407,472 |
A Rust wrapper for Artifacts, an API-based sandbox MMO.
Generated by openapi-generator.
use archaeologist::{
apis::{configuration::Configuration, my_account_api},
models::BankResponseSchema,
};
#[tokio::main]
async fn main() {
let mut config = Configuration::new();
config.bearer_access_token = Some("YOUR_TOKEN".to_owned());
match my_account_api::get_bank_details(&config).await {
Ok(BankResponseSchema { data }) => println!("{:?}", data),
Err(err) => panic!("{}", err),
}
}