with Twitch and Dex?
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
Adds a new contact or updates an existing one if the email address already exists in the Dex system. 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 Dex API offers a path to streamline and automate your relationship management by allowing you to sync, update, and interact with your personal Dex CRM data programmatically. On Pipedream, you can leverage this API to create powerful automations that keep your network vibrant and your connections strong, without manual effort. By integrating Dex with other apps on Pipedream, you can tailor workflows that sync contact info, set reminders for follow-ups, or trigger personalized communications based on various criteria.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dex: {
type: "app",
app: "dex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getdex.com/api/rest/contacts`,
headers: {
"x-hasura-dex-api-key": `${this.dex.$auth.api_key}`,
},
})
},
})