Search code examples
c#calendaricloudicalendarcaldav

Syncing / adding / removing events with iCloud Calendar


I've literally looked around the internet for over a week searching how to do this. iCloud don't provide an API / oAuth, I've seen some solutions on SO where they say use CALDAV, but businesses simply aren't using this route when connecting to iCloud, and doing it through c#.

Example for iCloud calendar

This clearly isn't the CALDAV route - most businesses connect directly to clients iCloud account... then do something. But that something isn't readily available ANYWHERE on the internet to my knowledge.

Maybe I'm wrong and it is CALDAV, but I don't think it is.

Sorry for what may seem like "a bad question" but it's been well over a week and I'm truly desperate.

Any advice on what to do with connecting to iCloud to syncing/ adding/removing events from iCloud would be really appreciated.


Solution

  • As SO is quite possibly the 'coldest' community online, I had to spend another few days researching - and asking friends. For others seeking the answer to this question, this is how I have done it:

    It is done through CalDAV, I used this https://github.com/rianjs/ical.net which got me half way there.

    ^ Woah, that was hard wasn't it?