archaeologist

Crates.ioarchaeologist
lib.rsarchaeologist
version1.1.4
sourcesrc
created_at2024-08-15 04:01:57.675622
updated_at2024-10-17 05:42:28.584935
descriptionRust client for Artifacts
homepage
repositoryhttps://github.com/Enochen/archaeologist
max_upload_size
id1338288
size407,472
Enoch Chen (Enochen)

documentation

README

archaeologist

A Rust wrapper for Artifacts, an API-based sandbox MMO.

Generated by openapi-generator.

Example Usage

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),
    }
}
Commit count: 39

cargo fmt