Twitch

Twitch is an interactive livestreaming service for content spanning gaming, entertainment, sports, music, and more.

Integrate the Twitch API with the Discord API

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

Send Message with Discord API on New Streams By Streamer from Twitch API
Twitch + Discord
 
Try it
Block User with Twitch API on New Message from Discord API
Discord + Twitch
 
Try it
Check Channel Subscription with Twitch API on New Message from Discord API
Discord + Twitch
 
Try it
Delete Video with Twitch API on New Message from Discord API
Discord + Twitch
 
Try it
Get Channel Editors with Twitch API on New Message from Discord API
Discord + Twitch
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Reaction Added (Instant) from the Discord API

Emit new event for each reaction added to a message

 
Try it
Block User with the Twitch API

Blocks a user; that is, adds a specified target user to your blocks list

 
Try it
Check Channel Subscription with the Twitch API

Checks if you are subscribed to the specified user's channel

 
Try it
Delete Video with the Twitch API

Deletes a specified video

 
Try it
Get Channel Editors with the Twitch API

Gets a list of users who are editors for your channel

 
Try it
Get Channel Followers with the Twitch API

Retrieves a list of users who follow the authenticated user. See the documentation

 
Try it

Overview of Twitch

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.

Connect Twitch

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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}`,
      },
    })
  },
})

Overview of Discord

The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.

Connect Discord

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discord: {
      type: "app",
      app: "discord",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})