Google Contacts Data API

Those nice people at Google have finally opened their Contacts API. Now, Evolution already has a Google Calendar backend, so does anyone fancy writing a Google Contacts addressbook backend? If someone with C/GObject knowledge is interested, I'll happily provide assistance on the Evolution side.

17:15 Thursday, 06 Mar 2008 [#] [computers] (8 comments)

Posted by Srini at Thu Mar 6 17:45:43 2008:
Ross, Nice idea to be part of GSOC 2008. In 2007 we got Calendar and 2008 Contacts :)
Posted by Jörgen at Thu Mar 6 18:21:14 2008:
"The GData protocol is programming-language-neutral; you can write a client in any programming language that lets you issue HTTP requests and parse XML-based responses."

They have bindings for the usual suspects, but of course no c. I guess you can use libsoup + libxml2, to do that stuff, but that's not a lot of fun (been there).
It seems they also provide an JSON-api. How far is ebassi's json-glib? Is it suitable for this kind of stuff?
Posted by Chris Lord at Thu Mar 6 21:09:34 2008:
@Jörgen: The Clutter Youtube toy I wrote uses json-glib+curl to interact with the GData API... Unfortunately, their json is absolutely terrible and in retrospect, I'd have been much better off using xml+libxml2 (although json-glib itself is very nice).

I'm not sure how suitable json-glib really is for this sort of thing though, as it has no stream API like libxml2 does - it's not hugely important, but it'd make things faster.
Posted by Piotr Gaczkowski at Fri Mar 7 05:29:48 2008:
What about this then: http://code.google.com/p/gdata-gobject-client/ ?

Could it do the trick?
Posted by Ross at Fri Mar 7 08:15:16 2008:
As I said, Evolution already has Google Calendar support, which uses exactly the same interfaces.  The library code already exists in Evolution, all that needs to be written is the backend itself.
Posted by tante at Fri Mar 7 12:39:50 2008:
Syncing your contacts like that would be really useful, making it a summer of code project sounds like a great idea!
Posted by Ross at Fri Mar 7 13:29:18 2008:
Syncing would be a project for Conduit or OpenSync, not Evolution.
Posted by Kevin Kubasik at Sat Mar 8 13:10:46 2008:
The syncing is already mostly complete in conduit.

http://bugzilla.gnome.org/show_bug.cgi?id=520699

Name:


E-mail:


URL:


Add 3 and 5 (required):


Comment: