Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Currencystack.io golang library Build Status

golang client library for currencystack.io

Installation

go get -u github.com/currencystack/currencystack-go

usage

Get ip info:

package main

import (
	currencystack "github.com/currencystack/currencystack-go"
	"fmt"
)

func main() {

	currencystackClient, err := currencystack.NewClient("API key here")
	if err != nil {
		fmt.Println(err)
		return
	}

	response, err := currencystackClient.CurrencyRepo.GetCurrencyConvertion("eur", []string{"Usd", "egp", "aed"})
	if err != nil {
		fmt.Println(err)
		return
	}

	fmt.Println(response)
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Real-time and historical exchange rates for 154 world currencies provided in JSON format and works for any programming environment.

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages