serpnode 0.1.0

Serpnode API client for Rust (unofficial)
Documentation

Serpnode Rust SDK (Unofficial)

Async Rust client for the Serpnode API using reqwest. Implements status, search, options, and locations.

Add to Cargo.toml

serpnode = { path = "../serpnode-rs" }

Example

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = serpnode::Client::new(std::env::var("SERPNODE_API_KEY").unwrap());
    let status = client.status().await?;
    println!("{}", status);
    Ok(())
}