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
> cargo
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(())
}