| Crates.io | nbp-api |
| lib.rs | nbp-api |
| version | 0.1.0 |
| created_at | 2023-08-21 10:42:09.486277+00 |
| updated_at | 2023-08-21 10:42:09.486277+00 |
| description | Client for the NBP Web API |
| homepage | |
| repository | https://github.com/mrozycki/nbp-api-rs/ |
| max_upload_size | |
| id | 949881 |
| size | 6,112 |
Rust client for the NBP Web API.
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);