summaryrefslogtreecommitdiff
path: root/blaunits.rb
diff options
context:
space:
mode:
Diffstat (limited to 'blaunits.rb')
-rwxr-xr-xblaunits.rb4
1 files 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)