mirror of
				https://github.com/lov3b/ecb-rates.git
				synced 2025-11-03 23:00:21 +01:00 
			
		
		
		
	
			
				
					
						
					
					f5015690401d48c05a948d36e86b727c7ec13d9d
				
			
			
		
	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 in different views
- Last available day.
 - Last 90 days
 - Since the dawn of the EUR
 
Display select currencies
- as an ASCII table
 - in JSON prettified
 - in JSON minified
 
Cache
It features an extensive cache, which will calculate hollidays in order to know whether to invalidate it or not.
Examples
Show the original data from ECB
...with only select currencies
Put the exchange rate in the perspective of any currency
Flip it
Acknowledgment
The data is (obviously) provided by the European Central Bank
					Languages
				
				
								
								
									Rust
								
								100%
							
						
					


