View Single Post
Old 17th April 2015, 23:20   #1
mattauckland
Junior Member
 
Join Date: Mar 2015
Posts: 39
How To Access Historic Listener Stats

Hi,

Is there a way to pull 30 day or Daily stats from Shoutcast server, via PHP or XML?

I've been a developer for a long old time, and I'm wondering if the Shoutcast server provides a way pull the data, be that via JSON or XML.

I know the XML interface gives you the current/real-time stats, but I need the historic information to report to the licensing authorities. Information like total listeners during a period, and listener time.

I've read something about WC3 logs (not sure what they report), but I don't know how I can access that via PHP. I'm running the latest server distro.

If that is not possible, is there a way to code in a hook to Google Analytics? If not, can I suggest that as a future feature. Would be awesome for Google Analytics real-time stats
mattauckland is offline   Reply With Quote