Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is fantastic! #436

Open
ed2050 opened this issue Aug 5, 2023 · 0 comments
Open

This is fantastic! #436

ed2050 opened this issue Aug 5, 2023 · 0 comments

Comments

@ed2050
Copy link

ed2050 commented Aug 5, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant