2 releases

0.1.1 Nov 4, 2021
0.1.0 Nov 4, 2021

#9 in #poe

25 downloads per month

MIT license

20KB
469 lines

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

Dependencies

~5–19MB
~279K SLoC