Last active
August 29, 2015 14:04
-
-
Save nvk/5d0212a77045d268ce1f to your computer and use it in GitHub Desktop.
Bitcoin Api: Get a bitcoin price quote with curl via Coinkite
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
$ curl `./ck-helper.py /v1/spot_quote/BTC/CAD` | |
{ | |
"args": { | |
"amount": 1, | |
"from_cct": "CAD", | |
"to_cct": "BTC" | |
}, | |
"result": { | |
"currency": "BTC", | |
"decimal": 0.00155765, | |
"integer": 155765, | |
"integer_scale": 8, | |
"pretty": "\u0e3f 0.00155765 BTC", | |
"string": "0.00155765" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full blogpost announcement here http://blog.coinkite.com/post/91848147526