To install Vscale API
, simply run:
$ go get github.com/evrone/vscale_api
package main
import(
"fmt"
vscale "github.com/evrone/vscale_api"
)
func GetAccountInfo() {
client := vscale.New("API_SECRET_TOKEN")
account, _, err := client.Account.Get()
if err != nil {
panic(err)
}
fmt.Printf("Account info: %v", account)
}
- Fork
- Change
- PR