ICloud 的照片流 API?
有没有任何 API 可以帮助我从 Mac 上的 iCloud 照片流中提取图片? 谢谢 !
Is there any API that would help me to extract pictures from my iCloud's photo stream on Mac ?
Thanks !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信目前官方还没有给出答案。 iCloud for Developers API 将是最简单的方法。但我读过的所有描述都只涉及“文档”和“键/值数据”:照片和照片流的缺失非常引人注目。 (我无权阅读 API 文档;具有 Mac 或 iOS 开发人员访问权限的人可以验证这一点。)
我注意到,在通过照片流同步的 Mac 上,我在 iPhone 上拍摄并发送到 iCloud 的照片是显示在 /Users/nelson/Pictures/iPhoto Library/Masters/ 中。据推测,这是 iPhoto 维护的本地缓存。不是一个正式的 API,但可能是一种获取图像的快速而肮脏的方法。
I believe the answer at the moment is not officially. The iCloud for Developers API would be the straightforward way to do it. But every description I've read of it talks only about "Documents" and "Key/Value Data": photos and Photo Stream are conspicuous by their absence. (I don't have access to read the API docs; someone with Mac or iOS developer access could verify this.)
I've noticed that on my Mac syncing via Photo Stream, the photos I took on my iPhone and sent to iCloud are showing up in /Users/nelson/Pictures/iPhoto Library/Masters/. Presumably this is the local cache iPhoto maintains. Not a formal API, but possibly a quick and dirty way to get ahold of the images.