nbp-api

Crates.ionbp-api
lib.rsnbp-api
version0.1.0
sourcesrc
created_at2023-08-21 10:42:09.486277
updated_at2023-08-21 10:42:09.486277
descriptionClient for the NBP Web API
homepage
repositoryhttps://github.com/mrozycki/nbp-api-rs/
max_upload_size
id949881
size6,112
Mariusz Różycki (mrozycki)

documentation

README

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);
Commit count: 4

cargo fmt