rsdo 0.1.20260301

A Rust client library for the DigitalOcean API v2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use rsdo::{Client, ClientInfo};

fn main() {
    println!("Creating DigitalOcean client...");

    // Create a reqwest client
    let http_client = reqwest::Client::new();

    // Create the DigitalOcean client
    let client = Client::new_with_client("https://api.digitalocean.com/v2", http_client);

    println!("Client created successfully!");
    println!("Base URL: {}", client.baseurl());

    // The client is ready to use - in a real application you would add authentication
    // and make actual API calls here
}