icloud.js
icloud.js copied to clipboard
How to get subfolders?
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)?
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
@foxt Did you get to this maybe?