Simple API Client for CoinGecko written in Golang
gopher resources from free-gophers-pack
Refer to CoinGecko official API
Endpoint | Status | Testing | Function |
---|---|---|---|
/ping | [/] | [/] | Ping |
/simple/price | [/] | [/] | SimpleSinglePrice, SimplePrice |
/simple/supported_vs_currencies | [/] | [/] | SimpleSupportedVSCurrencies |
/coins/list | [/] | [/] | CoinsList |
/coins/market | [/] | [/] | CoinsMarket |
/coins/{id} | [/] | CoinsID | |
/coins/{id}/history | [/] | CoinsIDHistory | |
/coins/{id}/market_chart | [/] | CoinsIDMarketChart | |
/events/countries | [/] | EventsCountries | |
/events/types | [/] | EventsType | |
/exchange_rates | [/] | ExchangeRate | |
/global | [/] | Global |
Installation with go get.
go get -u github.com/superoo7/go-gecko
For usage, checkout Example folder for v3
MIT