Skip to content

Instantly share code, notes, and snippets.

Created Sep 18, 2016

What would you like to do?
import websocket
import json
ws_url = 'ws://'
ws_conn = websocket.create_connection(ws_url)
while True:
res = ws_conn.recv()
print json.loads(res)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.