2 releases
0.1.1 | Nov 4, 2021 |
---|---|
0.1.0 | Nov 4, 2021 |
#6 in #poe
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–17MB
~236K SLoC