Download address of requesting source code :https://github.com/api-demo-file/api-dependent-file
Please download the requests package before using it
pip install requests
or
git clone git://github.com/kennethreitz/requests.git
python setup.py install
API Reference
Modify parameter
infor.conf
[key]
Secret = aQmE8U7bxj16KdJcSd3yX8F8Sakd8aO6LopnHXh27d4kWyb28PxcaTvGrajLDvAw
ApiKey = 03fa7eacabb1269afd010306e6fafaaf
TradePw = 123456
URL = https://apiv2.bibidev.com/Market/
tradeURL = https://apiv2.bibidev.com/Trade/
assetsURL = https://apiv2.bibidev.com/Assets/
Replace the arguments
testAPI.py
if __name__=="__main__":
ticker()
Add the calling function directly under the main function
Terminal execution
python testAPI.py