Skip to content

brokeyourbike/currencyapi-api-client-go

Repository files navigation

currencyapi-api-client-go

Go Reference Go Report Card Maintainability Test Coverage

Currencyapi API Client for Go

Installation

go get github.com/brokeyourbike/currencyapi-api-client-go

Usage

client := currencyapi.NewClient("token")

resp, err := client.GetLatestRate(context.TODO(), "GBP", []string{"USD", "EUR"})
require.NoError(t, err)
require.NotNil(t, resp)

Authors

License

BSD-3-Clause License