aluxnimm / outlookcaldavsynchronizer

Sync Outlook with Google, SOGo, Nextcloud or any other CalDAV/CardDAV server
GNU Affero General Public License v3.0
921 stars 97 forks source link

[Question] How to load calendar data from generic (Synology) CalDav server with username / password authentication? #406

Closed SeppPenner closed 10 months ago

SeppPenner commented 11 months ago

I have a developer question. Let's assume, I want to build a custom sync service between some public ICAL calendars (E.g. links from the internet) and my home NAS (Synology). Which classes and methods should I check in your project to do a "simple" login with username and password and get some events from a generic CalDav server (E.g. Synology)? Or what is the general flow on how to do that with CalDav? ("Login", than "Get data for calendar", than "Update / sync data"?).

I want to use your code as a kind of CalDav library because as far as I know, it's the only project to handle generic CalDav properly (With server access).

Sorry that it's really a quite broad question, but I honestly haven't looked (and still refuse a bit 😄) at the RFCs for that...

SeppPenner commented 10 months ago

I found a way and created a custom NuGet package for that: https://github.com/SeppPenner/CalDAVNet.