Serpnode Rust SDK
Async Rust client for the Serpnode API using reqwest. Implements status, search, options, and locations.
Add to Cargo.toml
= { = "../serpnode-rs" }
Example
async
Async Rust client for the Serpnode API using reqwest. Implements status, search, options, and locations.
serpnode = { path = "../serpnode-rs" }
#[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(())
}