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

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page