Created
July 11, 2017 12:36
-
-
Save dennisvandalen/82e4aa028a8163fdc261b417b1873ac6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request, json | |
with urllib.request.urlopen("https://api.coinmarketcap.com/v1/ticker/lisk/?convert=EUR") as url: | |
data = json.loads(url.read().decode()) | |
print(data[0]['price_eur']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment