0

このようなpythonコマンドでGoogleカレンダーを設定しています

def _InsertQuickAddEvent(self, 
  content="Tennis with dddddd on 5/19/2010 4am-5:30am"):
"""Creates an event with the quick_add property set to true so the content
is processed as quick add content instead of as an event description."""
event = gdata.calendar.CalendarEventEntry()
who = whois("himanshu.sojitra@searce.com")
event.content = atom.Content(text=content)
event.quick_add = gdata.calendar.QuickAdd(value='true');    
new_event = self.cal_client.InsertEvent(event, 
    '/calendar/feeds/default/private/full')
return new_event

このコードは Google API によって提供されます。これに招待者を追加する方法を提案できる人はいますか? そのための重要なリンク http://code.google.com/apis/calendar/data/1.0/developers_guide_python.html

4

1 に答える 1

0

私はこれでたくさんの研究をした後.....

event_audit=gdata.calendar.AttendeeStatus("http://schemas.google.com/g/2005#event.invited")
event.who.append(gdata.calendar.Who(email="xyz@pqr.com",rel="http://schemas.google.com/g/2005#event.invited"))
于 2010-05-24T08:45:59.923 に答える