Skip to content

Repository files navigation

Raindrop API

Raindrop API docs: https://developer.raindrop.io/

Usage

Example code

Run:

RAINDROP_TOKEN=<my-token> RAINDROP_COLLECTION_ID=<number> npm run example

🏭 Raindrop

Methods

⚙️ addItem

Add a new link to a collection.

MethodType
addItem(item: RaindropItem) => Promise<boolean>

Parameters:

  • item: - The RaindropItem to add.

⚙️ removeItem

Remove a single raindrop (item).

MethodType
removeItem(itemId: string) => Promise<boolean>

Parameters:

  • itemId: - The id of the raindrop to remove.

⚙️ getFirstItemFromCollection

Get the first item from a collection.

MethodType
getFirstItemFromCollection(collectionId: string) => Promise<{ object: RaindropItem; msg: string; status: boolean; }>

Parameters:

  • collectionId: - The id of the collection.

About

Expose selected Raindrop.io API endpoints

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages