Hacker News new | ask | show | jobs
by JKCalhoun 898 days ago
> iCloud photo albums have no API. However, if you share an iCloud photo album to a public link, you can use the Developer Tools to inspect the API requests Apple is making to get the photos.

That's clever. I tried something similar to get shared Calendar (Apple) events for the eInk project I put together. I wish there were a better, less hackish API I could have called.

2 comments

Yep, just switch the calendar to "public" and you can just use it with any CalDav client or icalendar libraries like https://github.com/pat/calendav. Nothing hacky about that, just a standard.
Apple Calendar server uses CalDAV. If you could see the data after authenticating it should be quite parse-able. You could also share your iCloud calendar with an account that is logged in on hardware you own like an old Mac, and use the EventKit framework to send copies of the data to whatever custom server you wanted.