Skip to content

DMEvanCT/CoinBaseAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoinBaseAPI

This is a coinbase Golang API written in Go

Getcoinprice

EX: Get Bitcoin Price

	bitcoin := coinprice.Getcoinprice("BTC", "USD")
	fmt.Printf("%s: %s\n", bitcoin.Data.Currency, bitcoin.Data.Amount)

EX: Get Eherium Price in USD

	eth := coinprice.Getcoinprice("ETH", "USD")
	fmt.Printf("%s: %s\n", eth.Data.Currency, eth.Data.Amount)

ETH in Euro

	etheur := coinprice.Getcoinprice("ETH", "EUR")
	fmt.Printf("%s: %s\n", etheur.Data.Currency, etheur.Data.Amount)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages