Raindrop.io is the best place to keep all your favorite books, songs, articles or whatever else you come across while browsing.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
Retrieve bookmark detailed information by given ID. See the docs here
Raindrop.io is a versatile bookmarking service that lets users save, organize, and share web content. With its API, you can automate the management of bookmarks, collections, and tags, thus streamlining the way you handle internet resources. Automating these tasks with the Raindrop API on Pipedream opens the door to personalized content curation, enhanced collaboration, and efficient information retrieval workflows. Think syncing saved articles across platforms, generating reports on saved links, or even triggering actions based on new content.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
raindrop: {
type: "app",
app: "raindrop",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.raindrop.io/rest/v1/user`,
headers: {
Authorization: `Bearer ${this.raindrop.$auth.oauth_access_token}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS