Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 363 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 363 Bytes

Tools for ViaBTC Exchange Server

Usage:

Get balance:
import api.api_exchange.py as ex
import requests, json

ip_exchange = "http://10.211.55.3:8080/"
headers = {'content-type': 'application/json'}

response = requests.post(ip_exchange, data=json.dumps(ex.balance.query(1)), headers=headers)
print(json.loads(response.text))