quoinex-go-client is a go client library for Quoine v2 API. godoc
go get github.com/jjjjpppp/quoinex-go-client
package main
import (
"time"
"context"
"github.com/jjjjpppp/quoinex-go-client/v2"
)
func main() {
client, _ := quoinex.NewClient("apiTokenID", "secret", nil) // your token and secret setup here
ctx, _ := context.WithTimeout(context.Background(), 10*time.Second)
priceLevels, err := client.GetOrderBook(ctx,[productID])
// put your code here...
}
- Fork it ( https://github.com/jjjjpppp/quoinex-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