southesk 0.0.5

A Rust client library for the Montrose MCP API.
Documentation

southesk

southesk is a library for creating clients for the Montrose MCP API.

[Client] provides the main interface to the library.

Quickstart

To use southesk, add it as a dependency along with an async runtime:

> cargo add southesk
> cargo add tokio -F rt-multi-thread

Then you can create a client and make API calls:

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let montrose = southesk::ClientBuilder::new("My Montrose Client")
        .build()
        .await?;
    let montrose = montrose.connect().await?;

    let accounts = montrose.get_user_accounts().await?;
    dbg!(&accounts);

    montrose.disconnect().await;

    Ok(())
}