loading
main.py
1
2
3
4
5
6
7
import requests
import json

r = {"request": "inst_order_book", "inst_id": 490589, "nonce": 12345}
orderbook = requests.post('http://api.coinut.com/', json.dumps(r)).json()
print json.dumps(orderbook, indent=2)