(GCPi) Google Calendar Python Interface
Project description
<h1><b>Getting started :</b></h1>
<i>from GoogleCalendar import *
gCalMNG = GoogleCalendarMng()
gCalMNG.connect ("some_login@gmail.com", "some_password")
calendar = gCalMNG.getCalendar ("myCalendarForTest")
events = calendar.getEvents()
for event in events:
print event.getTitle()
print event.getContent()
print time.strftime("%Y-%m-%dT%H:%M:%S" ,
time.localtime(event.getStartTime()))
print time.strftime("%Y-%m-%dT%H:%M:%S" ,
time.localtime(event.getEndTime()))
ev = newEvent("Lluis", "lluis.gesa@gmail.org",
"Meeting", "With Aleix to talk about work", "La Garriga",
time.mktime((2007,03,27,19,30,00)),
time.mktime((2007,03,27,21,30,00)))
calendar.addEvent (ev)
</i>
<i>from GoogleCalendar import *
gCalMNG = GoogleCalendarMng()
gCalMNG.connect ("some_login@gmail.com", "some_password")
calendar = gCalMNG.getCalendar ("myCalendarForTest")
events = calendar.getEvents()
for event in events:
print event.getTitle()
print event.getContent()
print time.strftime("%Y-%m-%dT%H:%M:%S" ,
time.localtime(event.getStartTime()))
print time.strftime("%Y-%m-%dT%H:%M:%S" ,
time.localtime(event.getEndTime()))
ev = newEvent("Lluis", "lluis.gesa@gmail.org",
"Meeting", "With Aleix to talk about work", "La Garriga",
time.mktime((2007,03,27,19,30,00)),
time.mktime((2007,03,27,21,30,00)))
calendar.addEvent (ev)
</i>