coinprices

command module
v0.0.0-...-63dad35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2018 License: MIT Imports: 11 Imported by: 0

README

Build Status

CoinPrices

Get cryptocurrency prices on terminal.

demo

Uses data from CoinMarketCap API.

Obtaining

go get github.com/0xmohit/CoinPrices

Usage

Usage of ./CoinPrices:
  -currency string
        Currency for price and market cap data.
        Valid currencies are: USD, AUD, BRL, BGN, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR (default "USD")
  -limit uint
        Default number of currencies. (default 10)

By default, CoinPrices limits the number of currencies to 10 and displays the currency data in USD.

The quotes are refreshed every 5 minutes.

Documentation

Overview

CoinPrices is a utility to fetch cryptocurrency prices.

Usage:

CoinPrices
CoinPrices [ -currency name ] [ -limit number ]

By default, the prices are displayed in USD and the number of cryptocurrencies is limited to 10.

Valid currencies are: USD, AUD, BRL, BGN, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR.

The data is obtained from [CoinMarketCap API](https://coinmarketcap.com/api/) and the quotes are refreshed every 5 minutes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL