Digital Picture Frame
At this point in time that is already a regular product category. The OP could just have bought one, but chose the DIY path. Digital Picture Frame
At this point in time that is already a regular product category. The OP could just have bought one, but chose the DIY path.That said, I think Aura frames will sync from iCloud via their phone app. Not sure how well it works.
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.
Google Photos, by comparison, has a REST API.
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.
All of this should be one step. Ideally Like airdrop. I say "share" and it should magically show up on the photo frame. I should be able to download pics from reddit/imgur and display it on photo frame using a CLI/API.