Skip to content

aquaflamingo/go-euro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go Euro

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

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