1 unstable release
0.1.0 | Aug 21, 2023 |
---|
#359 in Finance
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
~6–18MB
~248K SLoC