Use this app to connect to the Twitch API using your own Twitch developer app. This is required when using any Twitch API that requires App Access Tokens.
Emit new event when a specific broadcaster is raided by another broadcaster.
Emit new event when a specific broadcaster raids another broadcaster.
Emit new event when a live stream starts from the streamers you specify.
Emit new event when a new column is added to a table. See the documentation
Emit new event when a row is added or modified. See the documentation
Executes a custom query you provide. See the documentation
Finds a row in a table via a custom query. See the documentation
The Twitch Developer App API lets you tap into the rich features of Twitch, enabling integration with the streaming platform's data. Using Pipedream, you can automate interactions with Twitch, such as managing streams, users, games, and more. With the ability to react to events in real-time, you can create automated workflows that enhance the streaming experience for broadcasters and viewers alike, such as notifying followers when a stream goes live, tracking metrics, or even moderating chat.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twitch_developer_app: {
type: "app",
app: "twitch_developer_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://id.twitch.tv/oauth2/validate`,
headers: {
Authorization: `Bearer ${this.twitch_developer_app.$auth.oauth_access_token}`,
},
})
},
})
On Pipedream, you can leverage the PostgreSQL app to create workflows that automate database operations, synchronize data across platforms, and react to database events in real-time. Think handling new row entries, updating records from webhooks, or even compiling reports on a set schedule. Pipedream's serverless platform provides a powerful way to connect PostgreSQL with a variety of apps, enabling you to create tailored automation that fits your specific needs.
import postgresql from "@pipedream/postgresql"
export default defineComponent({
props: {
postgresql,
},
async run({ steps, $ }) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/postgresql
const queryObj = {
text: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
const { rows } = await this.postgresql.executeQuery(queryObj);
return rows;
},
})