1 unstable release
0.1.0 | Aug 21, 2023 |
---|
#278 in Finance
22 downloads per month
5KB
70 lines
NBP API for Rust
Rust client for the NBP Web API.
Usage
let rate = nbp_api::exchange_rates::get_latest_rate(iso_currency::Currency::EUR)
.await
.unwrap();
println!("EUR exchange rate for {}: {}; table number: {}", rate.date, rate.rate, rate.table_number);
Dependencies
~5–20MB
~285K SLoC