serpnode 0.1.1

Serpnode API client for Rust
Documentation

Serpnode Rust SDK

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