Skip to content

Library for working with the exchange UUSD and Crypton written in Golang

License

Notifications You must be signed in to change notification settings

utopia-opensource/uexchange-go

 
 

Repository files navigation

logo

Library for working with the exchange UUSD and Crypton written in Golang

made-with-Go GoDoc go-report

Crypton Exchange API docs

Install

go get github.com/Sagleft/uexchange-go
import (
	uexchange "github.com/Sagleft/uexchange-go"
)

Usage

// create client
client := uexchange.NewClient()

// auth
_, err := client.Auth(uexchange.Credentials{
    AccountPublicKey: "32AE83EF83637ADDA5800E2C9EEB3D456753B0B2CD11D37B90DFA1A1592ED952",
    Password: "mypassword",
})
if err != nil {
    log.Fatalln(err)
}

// get balance
balanceData, err := client.GetBalance()
if err != nil {
    log.Fatalln(err)
}
log.Println(balanceData)

udocs

About

Library for working with the exchange UUSD and Crypton written in Golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%