From c83afef1d907c44343dff7b7afd3692881357aa9 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Thu, 1 Feb 2018 15:19:38 +0000 Subject: Remove limit from coinmarketcap results --- blaunits.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blaunits.rb b/blaunits.rb index b696e72..e1ef041 100755 --- a/blaunits.rb +++ b/blaunits.rb @@ -3,12 +3,12 @@ require 'net/http' require 'json' -VERSION = "2.2.2" +VERSION = "2.2.3" BINARY_NAME = "units" begin def get_crypto_id(currency_name) - url = 'https://api.coinmarketcap.com/v1/ticker/' + url = 'https://api.coinmarketcap.com/v1/ticker/?limit=0' uri = URI(url) response = Net::HTTP.get(uri) currencies = JSON.parse(response) -- cgit v1.2.3