<filename>examples/02_current_price.py
import coinonepy

btc = coinonepy.get_current_price("btc")
btc_last_price = float(btc['last'])
print(btc_last_price)
<filename>examples/02_current_price.py
import coinonepy

btc = coinonepy.get_current_price("btc")
btc_last_price = float(btc['last'])
print(btc_last_price)