1
0
mirror of https://github.com/cmur2/munin-bitcoin.git synced 2024-06-01 20:34:44 +02:00

New API endpoint required

(old stopped working)
This commit is contained in:
cn 2017-06-17 09:38:38 +02:00
parent b570fb112b
commit 6ad3980e71

View File

@ -26,7 +26,7 @@ script = File.basename($0)
$stderr = IO.new(2, "w") $stderr = IO.new(2, "w")
def uri(currency) def uri(currency)
"https://api.bitcoinaverage.com/ticker/#{currency}" "https://apiv2.bitcoinaverage.com/ticker/#{currency}"
end end
def echo_price(currency, &get_data) def echo_price(currency, &get_data)