module
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Feb 7, 2021
License: MIT
Opens a new window with license information.
README
¶
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
- 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
Directories
¶
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. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.