pyicloud icon indicating copy to clipboard operation
pyicloud copied to clipboard

This is fantastic!

Open ed2050 opened this issue 2 years ago • 0 comments

This package is absolutely fantastic! I was able to install and query my icloud account in minutes! Well done guys.

One question: Is there a way to filter results from api.photos? I see a query_filter member in api.photos.all but its value is none. Don't see any other way to filter photos. Just iterate over photos.all and filter myself, which takes a long time to fetch them all from the server (10k photos, 8-10 mins).

I cached the photo data locally to quickly iterate over (name, creation, size, dimensions, etc). But once I narrow it down to the photos I want to operate on (download, delete), I have to iterate over api.photos.all again to get the icloud objects, which takes several minutes.

Would be great if there's a way to speed that up. A filter for id, filename, year etc to tell the API to only fetch photos matching the criteria. Any suggestions?

Thanks again for your great work!

ed2050 avatar Aug 05 '23 19:08 ed2050