How to connect to piwik's realtime evet stream

Hi,

we are trying to respond to user actions in the website in realtime, is there a recommended way to consume piwik’s event stream in realtime?
I’m aware of the http API and that I could poll it in low intervals, is there another way?

thanks
Avi