Nov 12th, 2010, 11:24 AM
Ah, sorry Andy - I missed that. But the idea is still sound: all you'd need to do is include the API (/global/api/api.php) before calling that code. That will give you access to all the core functionality and that code I posted will give you the info you want.
Still, it's a pain having to manually create Views for each time period that you want stats on... hmm.
Let me know if the above works. If not, I could look into updating the API to add a "get stats" function or something.
- Ben
Still, it's a pain having to manually create Views for each time period that you want stats on... hmm.
Let me know if the above works. If not, I could look into updating the API to add a "get stats" function or something.
- Ben