Hello,
As described in [1], it's possible to pull usage domain report data using URLs of the form [2].
I have written an app that stores this data, and it works fine if I run it manually and log into my domain admin account. I need GAE cron to run this app for me. In this case, when accessing the URL [2] below from cron, a login screen is returned rather than the data. I have working code for 2-legged oath apps (used elsewhere), but am uncertain how to proceed in this case, since I don't think 2-legged oath applies here, since the URI below is not a google apps "service". Can anyone provide insight into how my app can access this cpanel URL from cron?
(I have considered just accumulating the data manually, but there are insufficient APIs to gather the rich data carried in the cpanel reports).
Thanks for any tips,
Jason.
[1] Google Apps Reporting Visualization API Referencehttp://code.google.com/googleapps/domain/reporting/google_apps_reporting_visualization_api.html[2] Google apps domain report data source
https://www.google.com/a/cpanel/{domain}/ReportGviz?reportKey={reportKey}&reportDate={reportDate}