From b482102410a54ee2dd2e31224b21ded30f3a5bd4 Mon Sep 17 00:00:00 2001 From: cn Date: Fri, 21 Jul 2017 19:08:38 +0200 Subject: [PATCH] API endpoint changed again, now includes indices and yields more data (old stopped working) --- bitcoin_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin_ b/bitcoin_ index 09c300a..0d09f5a 100755 --- a/bitcoin_ +++ b/bitcoin_ @@ -26,7 +26,7 @@ script = File.basename($0) $stderr = IO.new(2, "w") def uri(currency) - "https://apiv2.bitcoinaverage.com/ticker/#{currency}" + "https://apiv2.bitcoinaverage.com/indices/global/ticker/BTC#{currency}" end def echo_price(currency, &get_data)