jjjjpppp / quoinex-go-client

Quoinex Web API Go client

Home Page:https://developers.quoine.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI

quoinex-go-client

quoinex-go-client is a go client library for Quoine v2 API. godoc

Installation

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

From golang libraries

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

License

MIT

Contributing

  1. Fork it ( https://github.com/jjjjpppp/quoinex-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

About

Quoinex Web API Go client

https://developers.quoine.com/

License:MIT License


Languages

Language:Go 97.7%Language:Roff 2.1%Language:Dockerfile 0.1%