Twitch is an interactive livestreaming service for content spanning gaming, entertainment, sports, music, and more.
Emit new event when a user has completed all tasks in a checklist. See the documentation
Emit new new event when an event is tracked in Userflow. See the documentation
Emit new event when a flow is completed by a user by reaching a goal step. See the documentation
Emit new event when there is a new clip for the specified streamer.
Blocks a user; that is, adds a specified target user to your blocks list
Creates or updates a user in Userflow. If the user does not already exist in Userflow, it will be created. If it already exists, the given attributes will be merged into the existing user's attributes. See the documentation
Checks if you are subscribed to the specified user's channel
Finds an existing user by user ID or email, optionally filtering by group ID. 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 Userflow API allows you to automate and integrate the process of creating and managing in-app guides and walkthroughs. Using the API within Pipedream, you can programmatically trigger events, update user attributes, and manage flows, thereby creating a personalized user experience within your application. This opens up possibilities for syncing user data, customizing user onboarding experiences, and tracking user progress without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
userflow: {
type: "app",
app: "userflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.userflow.com/users`,
headers: {
Authorization: `Bearer ${this.userflow.$auth.api_key}`,
"Userflow-Version": `2020-01-03`,
},
})
},
})