Question

Is it possible to get number of active connections with Pusher (http://pusher.com/) from the API?

Can't find it in the their Python server library they're supporting. I can see it on the stats page in their web based dashboard though, but I want to present it to my users in the browser.

Was it helpful?

Solution

Looks like there's a subscription_count attribute to the get-channel method in the REST API:

http://pusher.com/docs/rest_api#method-get-channel

but you will need to get special access:

[BETA] Number of connections currently subscribed to this channel. This attribute is not available by default; please contact support@pusher.com if you would like to beta test this feature.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top