summaryrefslogtreecommitdiffstats
path: root/btc/mtgox/json_ticker_helper.py
blob: 727dd5943cfb08e1e8f29e9ce19909f0144571ea (plain)
1
2
3
4
5
6
7
#!/usr/bin/python

import json,sys

result = json.load(sys.stdin)

print "High: " + str(result["ticker"]["high"]) + " Low: " + str(result["ticker"]["low"]) + " Last: " + str(result["ticker"]["last"])