Hi Jason, It is not possible to use 2-legged OAuth with the Reporting API and the Reporting Visualization API. If you want to pull visualization data from the URL, you can take the reportKey from your CPanel and use it in your application. ReportKey is a key, secret to the consumer like consumer secret, it is not possible to access the secret from your application.
Thank you, Shraddha Gupta Developer Programs Engineer Hyderabad, Google India. On Sat, Jan 14, 2012 at 10:32 AM, Jason <[email protected]> wrote: > Hi All, > > I'd like to access domain reporting data from a cron job by access a URL > of the form [1]: > > https://www.google.com/a/cpanel/ <http://goog_1416146249> > {domain}/ReportGviz?reportKey={reportKey}&reportDate={reportDate} > > Is it possible to use 2-legged oauth so that this unattended app can > access the URL? I am asking because I cannot see a way to use 2-legged > oath here, since the oath APIs set parameters on "services", and in this > case, there is no service, just a URL. (Note that the data I can get from > URLs in the cpanel Reporting section are richer than what I can get from > the reporting API - hence my desire to pull visualisation data from the > URL). > > Thanks, > > Jason. > > -- > You received this message because you are subscribed to the Google Groups > "Google Apps Domain Information and Management APIs" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-apps-mgmt-apis/-/SVMzUkoX50EJ. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-apps-mgmt-apis?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
