[Evolution-hackers] Accessing evolution-data-server with python



I'm working on a calendar based project, written in python, which needs to access evolution-data-server. So far, I have been using the python-evolution module to access it. However, it is proving to be a little slow and only has a few capabilities implemented. To speed things up and access more features, I'm hoping to be able to use gobject introspection instead.

I've come across some sample code for retrieving contacts from eds at http://cgit.collabora.com/git/user/rgs/eds-introspection/commit/ and I've tried a similar approach to retrieve calendar events, but it hasn't worked. I've replaced EBook.BookClient with ECalendar.CalClient and used get_object_list() rather than get_contacts(), but there doesn't appear to be a get_object_list_finish() method available in ECalendar.CalClient, while get_contacts_finish() does exist in EBook.BookClient.

So, how do I access and edit calendar events using python and gobject introspection?

The system I am using is as follows:
Ubuntu 11.10 64-bit
evolution-data-server 3.3.2-0unbuntu1~oneiric
libedata-cal-1.2-13 3.2.2-0ubuntu1~oneiric
gir1.2-ecalendar-1.2 3.2.2-0ubuntu1~oneiric



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]