/archaeologist

Rust client for Artifacts

Primary LanguageRust

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),
    }
}