bitbank-go-client is a go client library for Bitbank.cc API. godoc
go get github.com/jjjjpppp/bitbank-go-client
package main
import (
"fmt"
"github.com/jjjjpppp/bitbank-go-client/v1"
)
func main() {
client, _ := NewClient("apiTokenID", "secret", nil) // your token and secret setup here
ctx, _ := context.WithTimeout(context.Background(), 10*time.Second)
order, err := client.Get(ctx, [pair], [orderID])
// put your code here...
}
- Fork it ( https://github.com/jjjjpppp/bitbank-go-client/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request