Hello all.

I'm having a basic problem using the google calendar through the app
engine, and was wondering if anyone could help.

I can login correctly using ProgrammaticLogin, but whenever I try to
pull a calendar feed, I receive 'Authorization Required'.  Could
anyone explain?  It seems that maybe the login credentials I receive
are perhaps not being passed on to the google calendar properly?

The code I'm using is as follows:

import logging
import gdata.service
import gdata.auth
import gdata.alt.appengine
import gdata.calendar
import gdata.calendar.service

calendar_service = gdata.calendar.service.CalendarService()
gdata.alt.appengine.run_on_appengine(calendar_service)
calendar_service.email = "##username##"
calendar_service.password = "##password#"
calendar_service.source = "jauntertest1"
calendar_service.ProgrammaticLogin()

feed = calendar_service.GetOwnCalendarsFeed()

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to