Skip to content

jjjjpppp/bitbank-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

bitbank-go-client

bitbank-go-client is a go client library for Bitbank.cc API. godoc

Installation

go get github.com/jjjjpppp/bitbank-go-client

From golang libraries

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...
}

License

MIT

Contributing

  1. Fork it ( https://github.com/jjjjpppp/bitbank-go-client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request