with Function and Inoreader?
Emit new event when a new article is added to a folder. See the Documentation
Emit new event when a new broadcasted article is added. See the Documentation
Emit new event when a new starred article is added. See the Documentation
Emit new event when a new subscription is added. See the Documentation
The Function API allows you to run code snippets in various programming languages directly through API calls. This capability can extend Pipedream workflows by enabling custom logic processing, data transformation, or any operation that requires server-side code execution without deploying or managing servers. By using the Function API, you can incorporate code that's beyond the native actions available within Pipedream, offering a flexible and powerful way to handle complex tasks in your automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
function: {
type: "app",
app: "function",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fxn.ai/user`,
headers: {
Authorization: `Bearer ${this.function.$auth.api_key}`,
},
})
},
})
The Inoreader API taps into the functionality of the Inoreader content reader, allowing the automation of tasks like subscribing to new feeds, listing articles, or marking items as read. In Pipedream, this can be leveraged to create custom workflows that integrate with other apps, trigger actions based on new content, or manage content consumption in a more efficient way.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
inoreader: {
type: "app",
app: "inoreader",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.inoreader.com/reader/api/0/user-info`,
headers: {
Authorization: `Bearer ${this.inoreader.$auth.oauth_access_token}`,
},
})
},
})