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

API endpoint changed again, now includes indices and yields more data

(old stopped working)
This commit is contained in:
cn 2017-07-21 19:08:38 +02:00
parent 6ad3980e71
commit b482102410

View File

@ -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)