Well, I eventually managed to get a script to work that would create
an event, and add an attendee, so that the attendee would receive an
invitation.
The thing is, when I receive invites to events, I receive and SMS
notification almost instantly, but when I get an invite from an event
created using the scrip, I get no SMS notification. Why is this? How
do I get SMS alerts?

Here's the script:

import gdata.calendar
import gdata.calendar.service
import gdata.service
import atom
import atom.service
import time

cal_client = gdata.calendar.service.CalendarService()
cal_client.email = '[email protected]'
cal_client.password = 'password'
cal_client.ProgrammaticLogin()

title = 'title'
content = 'content'
where = 'banana'
who = gdata.calendar.Who()
who.email = '[email protected]'

event = gdata.calendar.CalendarEventEntry()
event.title = atom.Title(text=title)
event.content = atom.Content(text=content)
event.where.append(gdata.calendar.Where(value_string=where))
event.who.append(who)

start_time = time.strftime('%Y-%m-%d')
event.when.append(gdata.calendar.When(start_time=start_time))

new_event = cal_client.InsertEvent(event, '/calendar/feeds/default/
private/full')

print 'New single event inserted: %s' % (new_event.id.text,)
print '\tEvent edit URL: %s' % (new_event.GetEditLink().href,)
print '\tEvent HTML URL: %s' % (new_event.GetHtmlLink().href,)


Thanks!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to