Cryptocomparego is a Golang client library for accessing the Cryptocompare API.
You can view the client API docs here: http://godoc.org/github.com/lucazulian/cryptocomparego
You can view Cryptocompare API docs here: https://www.cryptocompare.com/api/
import "github.com/lucazulian/cryptocomparego"
To get general info for all the coins available:
ctx := context.TODO()
client := cryptocomparego.NewClient(nil)
coinList, _, err := client.Coin.List(ctx)
if err != nil {
fmt.Printf("Something bad happened: %s\n", err)
return err
}
We love pull requests! Please see the contribution guidelines.