03.22.07

GCPi, a Python Interface to Google Calendar

Posted in Python at 2:34 am by admin

Updated at v0.6

Few days ago, I decided to learn a bit about python, I want to make a personal project based on Python, for this reason I begin to use pygooglecalendar: a python module to connect with a Google Calendar account.

I needed to modify the module to incorporate some changes that I wished.. and after some changes.. I decided to make my own Interface to Google Calendar.. Double work? perhaps.. but with this, I’m learning a bit more..

The Module can be found at http://www.hlod-wig.org/index.php/gcpi/

With this one you can make something like :

   from GoogleCalendar import *
   myGoogCal = GoogleCalendar()
   myGoogCal.connect (”some_login@gmail.com”, “some_password”)
   myGoogCal.synchronizeLocal ()
   calendar = myGoogCal.getCalendar (”myCalendarForTest”)
   ev = gEvent()
   ev.new(”Lluis”, “lluis@hlod-wig.org”,
          “Meeting”, “With Aleix to talk about work”, “La Garriga”,
          “2007-03-21T09:30:00.000Z”, “2007-03-21T11:30:00.000″);
   myGoogCal.addEvent (ev, calendar)

…. and more… try it and explain me your experience!

Finally, I want to send thanks to Matt Poepping , David Hautbois and Greg Pinero to their work.

Leave a Comment

WordPress database error: [Table './wplogdb/wp_bdprt_hits' is marked as crashed and last (automatic?) repair failed]
INSERT INTO wp_bdprt_hits (ref_ident, browser_ident, ip_address, target_ident, time_of_hit) VALUES ('1', '1870', '38.103.63.16', '214', '1215346195')