Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

European Central Bank foreign currency rates

Awesome Lists containing this project

README

        

# Go Euro
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](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