Retrieve via API the current listeners numbers

Hello guys,
Maybe you can help me, would it be possible via the API to get the current listeners numbers?
Thanks for your hints :slight_smile:

We didn’t find a good way to get it directly from Airtime, so we used Node to monitor it in Icecast. You can take a peek at our bot’s source to get an idea of how to set this up.

Note that we return this via the SLAPP APIs direct to Slack; you’d probably want to wrap this up in a little HTTP server and query it that way.

1 Like

I get the listener count via IceCast itself myself.

https://your-server-ip-address:8000/status-json.xsl

1 Like

Thanks a lot for your hints ! I will dig into soon