dengste / org-caldav

Caldav sync for Emacs orgmode
GNU General Public License v3.0
712 stars 105 forks source link

Is it possible to sync tasks (TODO) items to and from Google Calendar? #299

Open AbeEtan opened 4 months ago

AbeEtan commented 4 months ago

Hello lovely folks!

So far, I am able to sync all my events to and from Google Calendar. However, it remains that i am unable to sync tasks or todo items such as

* TODO Fix the washing machine

Please advise

Thank you!

Abe

jackkamm commented 4 months ago

If Google Tasks supports CalDav, then in principle this could be made to work.

But if Google Tasks only has a non-CalDav API, then we can't support it; maybe org-gcal could do it instead.

According to https://developers.google.com/calendar/caldav/v2/guide, gcal's caldav API doesn't support tasks (VTODO).

However this link claims that google tasks can be made to work with caldav: https://gun.io/news/2017/01/post-to-google-tasks-using-siri-on-iphone/

And Tasks.org also supports Google Tasks: https://tasks.org/docs/google_tasks_intro.html Tasks.org is primarily based on CalDav, but it's not clear whether they use Google's CalDav API or the separate Tasks API for this. But they are open source, so it'd be worth checking their code to see what they do.