Sha256: d686cb910cd290a37d88bbee60aa768b239d41987961d921537e2c6cd0fee9d1
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
class CoinMarketCap BASE_URL = 'https://pro-api.coinmarketcap.com' # /v1/exchange/map - CoinMarketCap ID map # /v1/exchange/info - Metadata # /v1/exchange/listings/latest - Latest listings # /v1/exchange/listings/historical - Historical listings # /v1/exchange/quotes/latest - Latest quotes # /v1/exchange/quotes/historical - Historical quotes # /v1/exchange/market-pairs/latest - Latest market pairs data = JSON.parse(RestClient.get("#{Bitcoin::BASE}/public/candles/#{symbol}?limit=1000")) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitcoin-api-0.1.1 | lib/exchanges/coin_market_cap.rb |