Categorygithub.com/lucazulian/cryptocomparego
repositorypackage
0.0.0-20190615070552-deae92f3c4b9
Repository: https://github.com/lucazulian/cryptocomparego.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

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.