Skip to content

💰A Go library to handle Currency exchange rates

License

Notifications You must be signed in to change notification settings

miguelbemartin/eurex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eurex

This Go Library allows you to retrieve currency exchange rates from the official European Central Bank service.

Go Report Card Build Status codecov MIT licensed

Getting Started

Installation

go get github.com/miguelbemartin/eurex

Requirements

  • Go 1.10+

Usage

//...

import (
	eurex "github.com/miguelbemartin/eurex"
)

//...

client := eurex.NewClient()

rate, err := client.Exchange.Get(14.50, "USD", "CHF", "2019-06-15")
if err != nil {
  // handle your error
}

Run tests

go test . -v

Contributing

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

💰A Go library to handle Currency exchange rates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages