bitbank-go-client

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2021 License: MIT

README

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

Directories

Path Synopsis
v1
Package bitbank is a API Client of Bitbank.cc API document https://docs.bitbank.cc/ Error codes https://docs.bitbank.cc/error_code/
Package bitbank is a API Client of Bitbank.cc API document https://docs.bitbank.cc/ Error codes https://docs.bitbank.cc/error_code/
models
All return values from Bitbank.cc is set in this package models.
All return values from Bitbank.cc is set in this package models.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL