poe-ninja 0.1.1

API wrapper for https://poe.ninja/
Documentation

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