Skip to content

currencystack/currencystack-go

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages