Hi Syd,
I'm a colleague of Emma's doing dev work on this project. What we really require is access to the GetDailyReportLogs API call to automate the statistics.
It has been incredibly difficult to find sample code to invoke this call, the documentation doesn't do a great job of explaining what specifically is required, and the forums are not much help either. Although I think I now have our secret appropriately encoded, things are vague on exactly what credentials are required in these calls. All I am able to get back from the API is a Forbidden error.
My test URL:
https://deimos.apple.com/WebObjects/Core.woa/API/GetDailyReportLogs/[[ouruniversity-ac-uk]]-public-dz?StartDate=2010-01-01&EndDate=2010-02-02&creden tials=Administrator%40urn%3Amace%3Aitunesu.com%3Asites%3A[[ouruniversity-ac-uk]] -public-dz&identity=%22Dan%22+%3C[[myemailaddress]]%3E+%28dfsdfds%29+%5Bsdfewere %5D&time=1352573236&signature=[[our64bitkey]]
I've replaced the sensitive info with [[vals]], but if you are able to explain from that why I get a Forbidden that'd be greatly appreciated. Note that I have an administator account in the Site Manager associated with [[myemailaddress]].
Many thanks,
Dan