Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucazulian/cryptocomparego
Cryptocompare Golang API client
https://github.com/lucazulian/cryptocomparego
api cryptocompare cryptocompare-api go golang
Last synced: 3 months ago
JSON representation
Cryptocompare Golang API client
- Host: GitHub
- URL: https://github.com/lucazulian/cryptocomparego
- Owner: lucazulian
- License: mit
- Archived: true
- Created: 2017-11-21T13:20:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-04T14:31:48.000Z (over 5 years ago)
- Last Synced: 2024-06-29T05:33:33.749Z (5 months ago)
- Topics: api, cryptocompare, cryptocompare-api, go, golang
- Language: Go
- Homepage:
- Size: 65.4 KB
- Stars: 15
- Watchers: 5
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://api.travis-ci.org/lucazulian/cryptocomparego.svg)](https://travis-ci.org/lucazulian/cryptocomparego)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/lucazulian/cryptocomparego)
[![Go Report Card](https://goreportcard.com/badge/github.com/lucazulian/cryptocomparego)](https://goreportcard.com/report/github.com/lucazulian/cryptocomparego)
[![Coverage Status](https://coveralls.io/repos/github/lucazulian/cryptocomparego/badge.svg?branch=master)](https://coveralls.io/github/lucazulian/cryptocomparego?branch=master)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/lucazulian/cryptocomparego.svg)](http://isitmaintained.com/project/lucazulian/cryptocomparego "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/lucazulian/cryptocomparego.svg)](http://isitmaintained.com/project/lucazulian/cryptocomparego "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](http://godoc.org/github.com/lucazulian/cryptocomparego)
You can view Cryptocompare API docs here: [https://www.cryptocompare.com/api/](https://www.cryptocompare.com/api/)
## Usage
```go
import "github.com/lucazulian/cryptocomparego"
```## Examples
To get general info for all the coins available:
```go
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](CONTRIBUTING.md).