Service for managing a reading list of articles and videos
Save articles, videos, images and URLs to your Pocket list. See docs here
Call a Postgres function in a database. See the docs here
Pocket's API on Pipedream allows for the automation of content curation workflows. Users can add, retrieve, and organize articles, videos, or other content they want to view later. By leveraging the API, you can create systems for tagging and sorting saved items, integrating them with other services for further processing or sharing. This could be useful for content creators, researchers, or anyone needing to manage a large influx of information efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pocket: {
type: "app",
app: "pocket",
}
},
async run({steps, $}) {
const pocketReq = {
method: "post",
url: "/v3/get",
data: {
count: 10,
access_token: this.pocket.$auth.oauth_access_token,
},
}
// proxy pocket request
return await axios($, {
url: "https://enkogw2a5epb176.m.pipedream.net",
params: {
http_respond: 1,
},
data: pocketReq,
})
},
})
Supabase is a real-time backend-as-a-service that provides developers with a suite of tools to quickly build and scale their applications. It offers database storage, authentication, instant APIs, and real-time subscriptions. With the Supabase API, you can perform CRUD operations on your database, manage users, and listen to database changes in real time. When integrated with Pipedream, you can automate workflows that react to these database events, synchronize data across multiple services, or streamline user management processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supabase: {
type: "app",
app: "supabase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.supabase.$auth.subdomain}.supabase.co/rest/v1/`,
headers: {
Authorization: `Bearer ${this.supabase.$auth.service_key}`,
"apikey": `${this.supabase.$auth.service_key}`,
},
})
},
})