/cryptocomparego

Cryptocompare Golang API client

Primary LanguageGoMIT LicenseMIT

Build Status License: MIT GoDoc Go Report Card Coverage Status Average time to resolve an issue Percentage of issues still open

Cryptocomparego

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/

Usage

import "github.com/lucazulian/cryptocomparego"

Examples

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
}

Contributing

We love pull requests! Please see the contribution guidelines.