Hacker News new | ask | show | jobs
by eli 897 days ago
The problem here is that iCloud is the proprietary crap. They don't offer an appropriate API to get photos out. It'd be easier if you were starting with pictures in something more accessible.

That said, I think Aura frames will sync from iCloud via their phone app. Not sure how well it works.

2 comments

> They don't offer an appropriate API to get photos out.

There's this: https://developer.apple.com/documentation/photokit ("The framework provides access to photos on the person’s device and in iCloud.")

If you want to use undocumented APIs on non-Apple devices directly, there are projects like https://github.com/steilerDev/icloud-photos-sync and https://github.com/icloud-photos-downloader/icloud_photos_do... that appear to be able to do this.

Yes, you have to build an app that runs on a device owned by someone with access to the album.

Google Photos, by comparison, has a REST API.

I've got an app that uses that to upload to S3. It's pretty straightforward.
My MIL has one and loves it. It even plays Live Photos.

There are multiple apps that will keep your iCloud Photos synced to various blob storage services. If you just want to maintain a copy or have direct access to photos, that will be a lot easier than a webservice API anyway.