Crate poe_ninja[][src]

Expand description

An opinionated API wrapper around https://poe.ninja, specifically focused on the economy dataset.

Example

use poe_ninja::*;

#[tokio::main]
async fn main() {
	let client = Client::new("Scourge").unwrap();
	let currencies = client.get_currencies().await.unwrap();
    let mirror_shard = currencies.into_iter().find(|c| c.name == "Mirror Shard").unwrap();
    println!("Mirror Shard value is {} chaos", mirror_shard.chaos_equivalent);
}

Structs

The entrypoint for the library; construct a Client, then issue queries through it.

A Path of Exile currency.

A Path of Exile item.

A sample of transaction data for a currency.

A week’s worth of price changes for a currency or item.