Use this app to connect to the Twitch API using your own Twitch developer app. This is required when using any Twitch API that requires App Access Tokens.
Emit new event when a specific broadcaster is raided by another broadcaster.
Emit new event when a specific broadcaster raids another broadcaster.
Emit new event when a live stream starts from the streamers you specify.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Twitch Developer App API lets you tap into the rich features of Twitch, enabling integration with the streaming platform's data. Using Pipedream, you can automate interactions with Twitch, such as managing streams, users, games, and more. With the ability to react to events in real-time, you can create automated workflows that enhance the streaming experience for broadcasters and viewers alike, such as notifying followers when a stream goes live, tracking metrics, or even moderating chat.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twitch_developer_app: {
type: "app",
app: "twitch_developer_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://id.twitch.tv/oauth2/validate`,
headers: {
Authorization: `Bearer ${this.twitch_developer_app.$auth.oauth_access_token}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})