Twitch

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

Integrate the Twitch API with the Data Stores API

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

Add or update a single record with Data Stores API on Followed Streams from Twitch API
Twitch + Data Stores
 
Try it
Add or update a single record with Data Stores API on New Clip By Streamer from Twitch API
Twitch + Data Stores
 
Try it
Add or update a single record with Data Stores API on New Clips from Twitch API
Twitch + Data Stores
 
Try it
Add or update a single record with Data Stores API on New Follower (Instant) from Twitch API
Twitch + Data Stores
 
Try it
Add or update a single record with Data Stores API on New Videos from Twitch API
Twitch + Data Stores
 
Try it
New Clip By Streamer from the Twitch API

Emit new event when there is a new clip for the specified streamer.

 
Try it
New Clips from the Twitch API

Emit new event when there is a new clip for the specified game.

 
Try it
New Followed Streams from the Twitch API

Emit new event when a followed stream is live.

 
Try it
New Follower from the Twitch API

Emit new event when a new user follows your channel.

 
Try it
New Streams By Game from the Twitch API

Emit new event when a live stream starts from any stream matching the game and language specified.

 
Try it
Block User with the Twitch API

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

 
Try it
Add or update a single record with the Data Stores API

Add or update a single record in your Pipedream Data Store.

 
Try it
Check Channel Subscription with the Twitch API

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

 
Try it
Add or update multiple records with the Data Stores API

Add or update multiple records to your Pipedream Data Store.

 
Try it
Delete Video with the Twitch API

Deletes a specified video

 
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 Data Stores

Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.

Connect Data Stores

1
2
3
4
5
6
7
8
9
10
11
export default defineComponent({
  props: {
    myDataStore: {
      type: "data_store",
    },
  },
  async run({ steps, $ }) {
    await this.myDataStore.set("key_here","Any serializable JSON as the value")
    return await this.myDataStore.get("key_here")
  },
})