Created
September 13, 2015 12:41
-
-
Save Anderson-Juhasc/f8e8132d046c663bdb6f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 json; | |
import urllib2; | |
print("Price of 1 Bitcoin: $" + json.load(urllib2.urlopen("http://api.coindesk.com/v1/bpi/currentprice.json"))["bpi"]["USD"]["rate"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment