Skip to main content

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

Project details


Release history Release notifications | RSS feed

This version

0.6

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page