go-bittrex is an implementation of the Bittrex API (public and private) in Golang.
This version implement V1.1 Bittrex API and the new HMAC authentification.
import "github.com/toorop/go-bittrex"
package main
import (
"fmt"
"github.com/toorop/go-bittrex"
)
const (
API_KEY = "YOUR_API_KEY"
API_SECRET = "YOUR_API_SECRET"
)
func main() {
// Bittrex client
bittrex := bittrex.New(API_KEY, API_SECRET)
// Get markets
markets, err := bittrex.GetMarkets()
fmt.Println(err, markets)
}