mtopping / obsidian-raindrop

This plugin allows for basic integration with Raindrop.io, a bookmarking service and Obsidian.
MIT License
195 stars 5 forks source link

Possible to retrieve items within a collection and all nested collections? #2

Open sinewave opened 2 years ago

sinewave commented 2 years ago

Thanks for creating this plugin!!

Wondering if there's a way to all pull in items from nested collections when specifying a collection id?

Or alternatively a way to specify multiple collections ids could work as well?

mtopping commented 2 years ago

@sinewave Apologies, I've been away. The Raindrop API only allows one collection ID at a time, and separate methods for getting the list of child collections. It's possible, but the Raindrop API will require this to be a few requests, so it may be a bit slower to initially load.

I plan to add at least support for multiple collections in the next request, and maybe after that a boolean for automatically fetching nested collections.

SpaceShipDev commented 2 years ago

@sinewave Apologies, I've been away. The Raindrop API only allows one collection ID at a time, and separate methods for getting the list of child collections. It's possible, but the Raindrop API will require this to be a few requests, so it may be a bit slower to initially load.

I plan to add at least support for multiple collections in the next request, and maybe after that a boolean for automatically fetching nested collections.

Genius, +1 to this, I absolutely would relish in the idea of grabbing everything out of Raindrop into Obsidian for references. Exports from Raindrop in the Netscape html bookmark format is so finicky to work with natively. I had not once considered nor was aware of an api. Splendid work here.