Last active
August 29, 2015 14:24
-
-
Save sbp/d48c4a8aef214c1f18de to your computer and use it in GitHub Desktop.
Copi stack annotation
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
"json" | |
import -> | |
"urllib.request" | |
import -> | |
"https://api.bitcoinaverage.com/ticker/global/all" | |
urllib | |
.request ->- module | |
.urlopen -->- http.client.HTTPResponse | |
.read ->- bytes | |
.decode ->- str | |
json | |
.loads -->- dict | |
"USD" | |
: -->- dict | |
"last" | |
: -->- float | |
?print -> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment