I tried the magic cookie method too:
username='[email protected]'
visibility='private-zzzz'
projection='full'
query = gdata.calendar.service.CalendarEventQuery(username,
visibility, projection)
calendar_service = gdata.calendar.service.CalendarService()
feed = calendar_service.CalendarQuery(query)
for i, an_event in enumerate(feed.entry):
self.response.out.write('\t%s. %s' % (i, an_event.title.text,))
I keep getting these errors down in urlfetch (same error when I was
trying to use authsub):
File "/Users/maneeshyadav/Desktop/GoogleAppEngineLauncher.app/
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/api/urlfetch.py", line 267, in fetch
raise DownloadError(str(e))
DownloadError: ApplicationError: 2 nonnumeric port: ''
I am running Mac OS X 10.4.11 ad python 2.6. Might it be something
with my setup? Can't seem to tell...any help would be greatly
appreciated.
On Feb 22, 11:02 pm, maneesh <[email protected]> wrote:
> Hi all,
> I'm just trying to get a list of events from a specific public
> calendar (so I shouldn't need authentication), can anyone point out
> what I am doing wrong in this snippet?
>
> calendar_service = gdata.calendar.service.CalendarService()
> calendar = gdata.calendar.CalendarListEntry()
> calendar.id = atom.Id
> (text='[email protected]')
> returned_calendar = calendar_service.InsertCalendarSubscription
> (calendar)
>
> python throws exceptions in the InsertCalendarSubscription call ( I
> think the calendar object isn't valid), any help would be
> appreciated...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---