Fast, no-nonsense bookmarking site with no ads and no third-party tracking
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Pinboard API on Pipedream allows for the automation of social media content curation and sharing by interacting with a user's Pinboard account. This API provides the ability to programmatically add, update, and retrieve bookmarks, enabling users to streamline their bookmark management. Leveraging Pipedream's capabilities, developers can create sophisticated workflows that react to various triggers, manipulate data, and connect to numerous other services to enhance productivity and data management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pinboard: {
type: "app",
app: "pinboard",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pinboard.in/v1/posts/update`,
params: {
auth_token: `${this.pinboard.$auth.api_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