polynode 0.2.0

Rust SDK for the PolyNode API — real-time Polymarket data
Documentation

PolyNode SDK — Rust client for the PolyNode real-time Polymarket API.

Quick Start

use polynode::PolyNodeClient;

#[tokio::main]
async fn main() -> polynode::Result<()> {
    let client = PolyNodeClient::new("pn_live_...")?;
    let markets = client.markets(Some(5)).await?;
    println!("{} markets", markets.count);
    Ok(())
}