I’m getting familiar with socket io using Flask-Socketio library. I would like to create some kind of chat app/message board. You can create rooms, join rooms and chat with other people in that room. In order to join an existing room, I would like to get a list of all existing rooms on the server side. So the user can
Tag: websocket
How To Subscribe To Websocket API Channel Using Python?
I’m trying to subscribe to the Bitfinex.com websocket API public channel BTCUSD. Here’s the code: I believe ws.send(“BTCUSD”) is what subscribes to the public channel? I get a message back I think is confirming the subscription ({“event”:”info”,”version”:1}, but I don’t get the stream of data afterward. What am I missing? Update: Here’s the code that finally worked. Answer The documentation