module BittraderBot::CoinMarketCap
CoinMarketCap
¶ ↑
- Author
-
Richard Davis
- Copyright
-
Copyright 2017 Richard Davis
- License
-
GNU Public License 3
Holds methods for interacting with CoinMarketCap
Public Class Methods
ticker()
click to toggle source
Gets ticker information for a given currency
# File lib/bittrader-bot/coinmarketcap.rb, line 31 def self.ticker return @host,'/v1/ticker/' end
ticker_by_currency(currency)
click to toggle source
Gets ticker information for a given currency
# File lib/bittrader-bot/coinmarketcap.rb, line 37 def self.ticker_by_currency currency return @host, "/v1/ticker/#{currency}/" end