Real Simple Syndication
Emit new event when a new pass is created in PassSlot. See the documentation
Emit new event when an existing pass is updated in PassSlot. See the documentation
Creates a new pass using specified pass template. See the documentation
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
Updates an existing pass with new information. See the documentation
The RSS app allows users to automatically fetch and parse updates from web feeds. This functionality is pivotal for staying abreast of content changes or updates from websites, blogs, and news outlets that offer RSS feeds. With Pipedream, you can harness the RSS API to trigger workflows that enable a broad range of automations, like content aggregation, monitoring for specific keywords, notifications, and data synchronization across platforms.
module.exports = defineComponent({
props: {
rss: {
type: "app",
app: "rss",
}
},
async run({steps, $}) {
// Retrieve items from a sample feed
const Parser = require('rss-parser');
const parser = new Parser();
const stories = []
// Replace with your feed URL
const url = "https://pipedream.com/community/latest.rss"
const feed = await parser.parseURL(url);
const { title, items } = feed
this.title = title
if (!items.length) {
$end("No new stories")
}
this.items = items
},
})
The PassSlot API enables you to create and manage passes for Apple Wallet, such as coupons, loyalty cards, and event tickets. Integrating PassSlot with Pipedream allows you to automate the distribution and update of passes based on various triggers and events. You can dynamically create passes based on user actions, update them when certain conditions are met, and track their usage without manual intervention. This simplifies the process of engaging with customers through their mobile wallets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
passslot: {
type: "app",
app: "passslot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.passslot.com/v1/templates`,
auth: {
username: `${this.passslot.$auth.app_key}`,
password: ``,
},
})
},
})