Twitch is an interactive livestreaming service for content spanning gaming, entertainment, sports, music, and more.
Blocks a user; that is, adds a specified target user to your blocks list
Checks if you are subscribed to the specified user's channel
This endpoint lists all events, or a subset of events. See the documentation.
The Twitch API unlocks a world of possibilities for engaging with live streaming communities and understanding audience behaviors. With Pipedream, you can harness this API to automate many aspects of Twitch interaction and analysis. From tracking stream stats to automating chat messages, the Twitch API lets you create workflows that interact with Twitch's vast live streaming ecosystem. Pipedream's serverless platform streamlines these tasks, making it simple to connect Twitch with other services for enhanced functionalities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twitch: {
type: "app",
app: "twitch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twitch.tv/helix/users`,
headers: {
Authorization: `Bearer ${this.twitch.$auth.oauth_access_token}`,
"Client-ID": `${this.twitch.$auth.oauth_client_id}`,
},
})
},
})
The Hookdeck API facilitates the management of webhooks, providing reliable webhook delivery, monitoring, and debugging solutions. With this API on Pipedream, you can automate workflows concerning incoming webhook data—transforming, routing, and ensuring they trigger the subsequent actions without fail. This could range from logging data for analysis, conditionally processing and forwarding webhook events to other endpoints, or integrating with third-party services for extended automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hookdeck: {
type: "app",
app: "hookdeck",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hookdeck.com/2023-01-01/events`,
headers: {
Authorization: `Bearer ${this.hookdeck.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})