Skip to content

gostudent/coindesk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coindesk

CoinDesk Travis Branch OpenCode

coindesk is a Go package to access Coindesk API

Documentation:

GoDoc

Installations & Usage

Installation

go get github.com/gostudent/coindesk

Usage

package main

import (
	"fmt"
	"github.com/gostudent/coindesk"
)

func main() {
	priceUsd := coindesk.GetPrice()
	fmt.Println(priceUsd)

	priceInr := coindesk.GetPrice("INR")
	fmt.Println(priceInr)

	USD, GBP, EUR := coindesk.CurrentPrice()
	fmt.Println(USD, GBP, EUR)
}

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages