Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

lucazulian/cryptocomparego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages