Closed GoogleCodeExporter closed 9 years ago
Actually 2-legged Oauth is currently not enabled for write access with the
Calendar Resource API
If you want to access it in read-only mode, first make sure you enabled the
following scope for your domain in your control panel:
https://apps-apis.google.com/a/feeds/calendar/resource/#readonly
Then pass an empty string as xoauth_requestor_id, as in the following code
snippet:
two_legged_oauth_token = gdata.gauth.TwoLeggedOAuthHmacToken(CONSUMER_KEY, CONSUMER_SECRET, '')
clr = gdata.calendar_resource.client.CalendarResourceClient(YOUR_DOMAIN)
clr.auth_token = two_legged_oauth_token
print clr.GetResourceFeed()
Original comment by pro...@google.com
on 29 Jun 2011 at 1:37
Original comment by ccherub...@google.com
on 29 Jun 2011 at 1:38
Original issue reported on code.google.com by
cc...@nougat.org
on 20 Jun 2011 at 9:19