On lør, 2012-09-22 at 22:53 +0600, Ildar Mulyukov wrote:

> I was looking at Evolution-data-server's Google backend and it is made  
> with libgdata.
> libgdata is the GObject library for accessing Google APIs and it has  
> the ready-made OAuth implementation that could be useful for you.


Thanks. I took a closer look at libgdata, and unfortunately it seems to
use a login method that isn't supported for Google Tasks; in fact, it
seems to be using an  API that was recently deprecated by Google. It
looks like I'm on my own, but my experiments thus far seem quite
promising.

If anyone is interested, the code is growing slowly on Github:
https://github.com/olewolf/gtasks2ical. "make check" of the code
currently enables me to login to Gmail, and even if this isn't quite
what I want--the Oauth2 procedure may require different pages and post
forms--at least the code indicates that it is possible to work around
Google's requirement that the user click around on web pages in a
browser.

The interface to SyncEvolution is secondary as far as I'm concerned. If
I can write a command-line utility that converts between Google Tasks
and a local iCalendar text file, it will probably be a straight-forward
task for someone else to create a SyncEvolution back-end that uses that
utility.

-- 
Ole Wolf
Rødhættevej 4 • 9400 Nørresundby
Telefon: 9632-0108 • Mobil: 2467-5526 • Skype: ole.wolf

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to