Pubsub is documented here:
Pay attention to the connection management about ping/pong.
- Connect to pubsub using language of choice that supports websockets
- On connect send the
listencommand using the topicchannel-subscribe-events-v1.<channel ID> - Wait for messages and parse them