Python API
Hey guys,
I'm having a bit of an issue using the binary.com API with Python.
It works in Javascript with the following:
I need to use this exact code, but with Python, and I keep getting this error when I try with websocket:
AttributeError: 'module' object has no attribute 'WebSocketApp'
I am using the demo code provided in the API documentation:
Any help will be greatly appreciated, thanks i advance!
Comments
You need to install/re-install websocket-client:
pip3 install websocket-client