waapi-rs 0.2.2

A Rust client for Wwise Authoring API (WAAPI), supporting async and sync usage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use waapi_rs::{ak, WaapiClient};

#[tokio::main]
async fn main() {
    env_logger::init();
    let client = WaapiClient::connect().await.expect("Failed to connect");

    let result = client
        .call(ak::wwise::waapi::GET_FUNCTIONS, None, None)
        .await
        .expect("WAAPI call failed");

    if let Some(map) = result {
        println!("Functions: {map:?}");
    }

    client.disconnect().await;
}