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

How to get subfolders? #26

Open
WeeJeWel opened this issue Aug 26, 2024 · 2 comments
Open

How to get subfolders? #26

WeeJeWel opened this issue Aug 26, 2024 · 2 comments
Assignees

Comments

@WeeJeWel
Copy link

WeeJeWel commented Aug 26, 2024

Using:

const photosService = iCloud.getService('photos');
const albums = await photosService.getAlbums();

I get the full list of albums & root-level folders. But how can I retrieve subfolders (folder inside a folder)?

@foxt foxt self-assigned this Aug 28, 2024
@foxt
Copy link
Owner

foxt commented Aug 28, 2024

Currently this isn't possible without directly calling the API as iCloud requires you to get subfolders as a seperate API. I'll have a look into sorting this tomorrow

@WeeJeWel
Copy link
Author

@foxt Did you get to this maybe?

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

2 participants