RE: Curso de programación de criptomonedas con Python - 4. Recopilar datos uno a uno: diccionarios

You are viewing a single comment's thread from:

Curso de programación de criptomonedas con Python - 4. Recopilar datos uno a uno: diccionarios

in spanish •  7 years ago 

import requests
info_mercados = requests.get("https://poloniex.com/public?command=returnTicker")
info_mercados = info_mercados.json()
print(type(info_mercados))
print(info_mercados[u'BTC_ETH']['last'])

Deberia funcionarte así

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!