picklepete / pyicloud

A Python + iCloud wrapper to access iPhone and Calendar data.
MIT License
2.45k stars 437 forks source link

I want to get photo "caption" and "keywords" #414

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello, Sorry for the poor English. I want to get photo "caption" and "keywords". I was able to get the "title" with the following code.

for photo in api.photos.albums['albums_name']:
    photo._asset_record['fields']['captionEnc']

I would appreciate it if you could tell me.

Captions are a new feature from iOS 14. https://support.apple.com/ja-jp/guide/photos/phta4e5a733f/mac