2025-01-08 19:42:06 +01:00
2025-01-08 19:42:06 +01:00
2025-01-04 16:42:55 +01:00
2025-01-08 13:53:26 +01:00
2025-01-08 19:32:06 +01:00
2025-01-07 17:19:07 +01:00
2025-01-07 17:19:12 +01:00

ECB Rates

A cli utility to fetch the currency rates against the Euro from the ECB.

Install

First, make sure that you have the rust toolchain installed. If not, then go to rustup to install it.

Now, Git clone the project, then cd into the projects root-dir. Thereafter run:

cargo install --path .

Congratulations! Now the cli binary ecb-rates will be in your cargo bin folder.

Features

  • Fetch and display select currencies:
    • as an ASCII table
    • in JSON prettified
    • in JSON minified
  • Fetch in different "resolutions":
    • Last available day.
    • Since the dawn of the EUR
      • in day resolution
      • in 90 day resolution

Example

ecb-rates -c sek -c nok -c usd
     2025-01-07
Currency         Rate
---------------------
USD            1.0393
SEK            11.475
NOK           11.7385

Acknowledgment

The data is (obviously) provided by the European Central Bank

Description
Fetch exchage rates from the ECB
Readme Zlib 502 KiB
Languages
Rust 100%