Skip to content

CRP.is crypto exchange api for free - crypto trading API lib written in Golang

License

Notifications You must be signed in to change notification settings

Sagleft/uexchange-go

Repository files navigation

logo

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

made-with-Go GoDoc go-report

What do you get by using this library:

  • crypto currency converter api;
  • crypton crypto currency price api;
  • cryptocurrency trading api;
  • crypto exchange and wallet;
  • anonymous cryptocurrency exchange api.

CRP.is - is the best anonymous bitcoin exchange, on the basis of which you can make your own bot using this library in the Golang language.

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)

Useful resources