JGuizard
4/18/2016 - 4:28 PM

Get bitcoin value as JSON from multiple services.

Get bitcoin value as JSON from multiple services.

"""
Get the library
https://github.com/dursk/bitcoin-price-api
"""

from exchanges.bitfinex import Bitfinex
from exchanges.bitstamp import Bitstamp
from exchanges.coindesk import CoinDesk


print Bitfinex().get_current_price()
print Bitstamp().get_current_price()
print Coindesk().get_current_price()