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§
- Client
- The entrypoint for the library; construct a
Client
, then issue queries through it. - Currency
- A Path of Exile currency.
- Item
- A Path of Exile item.
- Item
Modifier - Transaction
Sample - A sample of transaction data for a currency.
- Week
OfDaily Price Changes - A week’s worth of price changes for a currency or item.