From 6ad3980e71fe3d2b22dd8a3937acbd296b51108f Mon Sep 17 00:00:00 2001 From: cn Date: Sat, 17 Jun 2017 09:38:38 +0200 Subject: [PATCH] New API endpoint required (old stopped working) --- bitcoin_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin_ b/bitcoin_ index 66afc73..09c300a 100755 --- a/bitcoin_ +++ b/bitcoin_ @@ -26,7 +26,7 @@ script = File.basename($0) $stderr = IO.new(2, "w") def uri(currency) - "https://api.bitcoinaverage.com/ticker/#{currency}" + "https://apiv2.bitcoinaverage.com/ticker/#{currency}" end def echo_price(currency, &get_data)