programmatically get ics file from icloud?

前端 未结 2 1704
暗喜
暗喜 2021-01-19 15:35

I\'ve been running a process for a client that involves grabbing their publicly available calendar file from me.com by making an https GET call in a ruby script, and then co

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-19 16:04

    I'm surprised no one has answered this yet...

    If you go to iCloud.com, you should be able to get the URL of the calendar that you have syncing using a public share. It should be a webcal protocol (webcal://). However, if you change that webcal to https, it will download the ics format instead of trying to sync using Macs iCalendar.

    I have my website linking to the https ics file, and it appears to be working just fine (for now at least).

提交回复
热议问题