https://github.com/aquaflamingo/go-euro
European Central Bank foreign currency rates
https://github.com/aquaflamingo/go-euro
euro exchange-rates finance foreign-exchange-rates fx go golang
Last synced: 6 days ago
JSON representation
European Central Bank foreign currency rates
- Host: GitHub
- URL: https://github.com/aquaflamingo/go-euro
- Owner: aquaflamingo
- Created: 2020-11-05T16:29:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T16:11:32.000Z (about 3 years ago)
- Last Synced: 2025-05-09T19:12:26.307Z (10 days ago)
- Topics: euro, exchange-rates, finance, foreign-exchange-rates, fx, go, golang
- Language: Go
- Homepage:
- Size: 674 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Euro
[](https://www.repostatus.org/#active)Go library to parse the European Central Bank statistics for daily foreign currency rates
## Usage
* Get the current EUR exchange rate
* Get the past 90 day EUR historic exchange rate
* Get the historic EUR exchange rate```
func main() {
exchangeRate, err := goeuro.AllCurrentRates()
usd := exchangeRate.Rates["USD"]
fmt.Printf("today 1 EUR = %s USD", usd)
}
```# License
This repository is licensed under MIT Open Source Licence