From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baptiste Subject: Sync Org with Google Calendar using google API (rather than caldav) Date: Fri, 29 Mar 2013 12:03:47 +0100 Message-ID: <87sj3e31ug.fsf@bat.fr.eu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULX6B-0002Ge-7o for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 07:03:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULX68-0001la-2H for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 07:03:55 -0400 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:53271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULX67-0001lC-Pk for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 07:03:51 -0400 Received: by mail-ea0-f178.google.com with SMTP id o10so173700eaj.37 for ; Fri, 29 Mar 2013 04:03:50 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi, I have started a /google calendar/ synchronization ~Emacs~ module. Rather than using =ical= format, I use directly ~Google~ =API=. For sure it is less usefull for other calendar services, but it will keep working when ~Google~ is stopping supporting =caldav=. For now, only fetch from ~Google~ is implemented, but extension (then push and sync) should be quiet easy to manage. You will find it [[https://github.com/bateast/google-calendar][here (github)]]. If this can be usefull for you, -- : ~^v^~ Bat --=-=-= Content-Type: multipart/related; boundary="==-=-=" --==-=-= Content-Type: text/html

Hi,


I have started a google calendar synchronization Emacs module. Rather than
using ical format, I use directly Google API. For sure it is less usefull for
other calendar services, but it will keep working when Google is stopping
supporting caldav.


For now, only fetch from Google is implemented, but extension (then push and
sync) should be quiet easy to manage.


You will find it here (github).


If this can be usefull for you,


--


~^v^~ Bat
--==-=-=-- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: Sync Org with Google Calendar using google API (rather than caldav) Date: Fri, 29 Mar 2013 15:05:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULasW-0002pa-Pr for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 11:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULasT-0004Al-5Q for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 11:06:04 -0400 Received: from mail-ve0-f172.google.com ([209.85.128.172]:35799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULasS-0004Ac-KT for emacs-orgmode@gnu.org; Fri, 29 Mar 2013 11:06:00 -0400 Received: by mail-ve0-f172.google.com with SMTP id oz10so614592veb.31 for ; Fri, 29 Mar 2013 08:05:59 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Baptiste Cc: emacs-orgmode@gnu.org On 29 March 2013 11:03, Baptiste wrote: > Hi, > > I have started a google calendar synchronization Emacs module. Rather than > using ical format, I use directly Google API. For sure it is less usefull for > other calendar services, but it will keep working when Google is stopping > supporting caldav. > > > For now, only fetch from Google is implemented, but extension (then push and > sync) should be quiet easy to manage. > > > You will find it here (github). > > > If this can be usefull for you, Sounds interesting. It would be very helpful if you could explain how it is different from the other synchronization possibilities out there, e.g. http://orgmode.org/worg/org-tutorials/org-google-sync.html https://code.google.com/p/emacs-google/ https://github.com/travisbhartwell/Emacs-Google-Calendar-Sync http://www.emacswiki.org/emacs/GoogleClient From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baptiste Fouques Subject: Re: Sync Org with Google Calendar using google API (rather than caldav) Date: Tue, 2 Apr 2013 07:17:17 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMvaG-0003XV-Hr for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 03:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMvaF-0003m3-2L for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 03:24:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:54851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMvaE-0003ls-RD for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 03:24:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UMvaZ-0006sj-VT for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 09:25:06 +0200 Received: from 195.6.80.114 ([195.6.80.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Apr 2013 09:25:03 +0200 Received: from bateast by 195.6.80.114 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Apr 2013 09:25:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Adam Spiers adamspiers.org> writes: > Sounds interesting. It would be very helpful if you could explain how it is > different from the other synchronization possibilities out there, e.g. > > http://orgmode.org/worg/org-tutorials/org-google-sync.html > https://code.google.com/p/emacs-google/ > https://github.com/travisbhartwell/Emacs-Google-Calendar-Sync > http://www.emacswiki.org/emacs/GoogleClient two main things make my sync different (also this does not make it more interesting ;) - it does not rely on external command - it does not rely on ics I always found that relying on external commands makes thing more complex : you have to configure that command, in its configuration file or through scripted call by passing right arguments, and then you have to integrate it in your Emacs workflow. Using command in Emacs, configured through convenient customization group is so natural … Then, my sync. uses Google json API (and authentification using oauth, stored in crypted file, for no secret in your config file or anywhere else). This make it by far less portable. But, with Google dropping standards, or juts maintaining it at there minimal level, it makes it more close to what you can get from Google calendar and events. Also using elisp Json library is so easy and robust in regard to parsing ics files that it sounds very natural to use it. I don't mean it is better than caldav sync tools, but that I could not find myself satisfied with those tools, worried about Google call to drop caldav compatibility, that I feel I need something more close to Google API possibilities. Then I started it, and just offer to share (that how it works, right ? ;) Thanks for the work of the community, Bat. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Sync Org with Google Calendar using google API (rather than caldav) Date: Wed, 03 Apr 2013 19:09:04 +0200 Message-ID: <876203tubz.fsf@bzg.ath.cx> References: <87sj3e31ug.fsf@bat.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNRBP-0003Gt-EK for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 13:09:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNRBL-00075U-OO for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 13:09:11 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:53106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNRBL-00075H-Gi for emacs-orgmode@gnu.org; Wed, 03 Apr 2013 13:09:07 -0400 Received: by mail-wg0-f47.google.com with SMTP id y10so1888181wgg.14 for ; Wed, 03 Apr 2013 10:09:06 -0700 (PDT) In-Reply-To: <87sj3e31ug.fsf@bat.fr.eu.org> (Baptiste's message of "Fri, 29 Mar 2013 12:03:47 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Baptiste Cc: emacs-orgmode@gnu.org Salut Baptiste, Baptiste writes: > I have started a google calendar synchronization Emacs > module. Rather than using ical format, I use directly Google > API. For sure it is less usefull for other calendar services, but it > will keep working when Google is stopping supporting caldav. I didn't realize it was importing the Google calendar as an Org file, this is nice and a nice use of Babel. > For now, only fetch from Google is implemented, but extension (then > push and sync) should be quiet easy to manage. Maybe you can have a look at org-sync for ideas: http://orgmode.org/cgit.cgi/org-sync.git/ Best, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: Sync Org with Google Calendar using google API (rather than caldav) Date: Mon, 8 Apr 2013 18:25:20 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPFoq-0006HG-Td for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 13:25:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPFoo-0001mr-5i for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 13:25:23 -0400 Received: from mail-vb0-x233.google.com ([2607:f8b0:400c:c02::233]:33043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPFoo-0001me-1O for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 13:25:22 -0400 Received: by mail-vb0-f51.google.com with SMTP id x19so4064463vbf.10 for ; Mon, 08 Apr 2013 10:25:21 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Baptiste Fouques Cc: emacs-orgmode@gnu.org Thanks a lot for the info! I agree that natively talking to the JSON API is a nice feature :) On 2 April 2013 08:17, Baptiste Fouques wrote: > Adam Spiers adamspiers.org> writes: > >> Sounds interesting. It would be very helpful if you could explain how i= t is >> different from the other synchronization possibilities out there, e.g. >> >> http://orgmode.org/worg/org-tutorials/org-google-sync.html >> https://code.google.com/p/emacs-google/ >> https://github.com/travisbhartwell/Emacs-Google-Calendar-Sync >> http://www.emacswiki.org/emacs/GoogleClient > > two main things make my sync different (also this does not make i= t more > interesting ;) > - it does not rely on external command > - it does not rely on ics > > I always found that relying on external commands makes thing more comple= x : you > have to configure that command, in its configuration file or through s= cripted > call by passing right arguments, and then you have to integrate it in you= r Emacs > workflow. > > Using command in Emacs, configured through convenient customization grou= p is so > natural =85 > > Then, my sync. uses Google json API (and authentification using oauth, st= ored in > crypted file, for no secret in your config file or anywhere else). This = make it > by far less portable. But, with Google dropping standards, or juts main= taining > it at there minimal level, it makes it more close to what you can g= et from > Google calendar and events. > > Also using elisp Json library is so easy and robust in regard to pars= ing ics > files that it sounds very natural to use it. > > I don't mean it is better than caldav sync tools, but that I could n= ot find > myself satisfied with those tools, worried about Google call to drop= caldav > compatibility, that I feel I need something more close to Goog= le API > possibilities. Then I started it, and just offer to share (that how it= works, > right ? ;) > > Thanks for the work of the community, > > Bat. > > >