RSS

Real Simple Syndication

Go to site

Integrate the RSS API with the Twitch API

Setup the RSS API trigger to run a workflow which integrates with the Twitch API. Pipedream's integration platform allows you to integrate RSS and Twitch remarkably fast. Free for developers.

Connect RSS

// 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

Connect Twitch

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.twitch.tv/helix/users`,
  headers: {
    Authorization: `Bearer ${auths.twitch.oauth_access_token}`,
    "Client-ID": `${auths.twitch.oauth_client_id}`,
  },
})