Live streaming platform for gamers
Emit an event for each new or modified record in a table
Emit an event for each new or modified record in a view
Emits an event each time a record is added, updated, or deleted in an Airtable table. Supports tables up to 10,000 records
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
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
With the Twitch API, you can develop apps that:
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}`,
},
})
},
})
Using the Airtable API, you can build applications that can:
module.exports = defineComponent({
props: {
airtable: {
type: "app",
app: "airtable",
},
baseId: {
type: "$.airtable.baseId",
appProp: "airtable",
},
tableId: {
type: "$.airtable.tableId",
baseIdProp: "baseId",
},
},
async run({steps, $}) {
const Airtable = require('airtable');
const base = new Airtable({apiKey: this.airtable.$auth.api_key}).base(this.baseId);
const data = []
await base(this.tableId).select({
// pass optional config parameters here
}).eachPage(function page(records, fetchNextPage) {
// This function (`page`) will get called for each page of records.
records.forEach(function(record) {
data.push(record._rawJson)
});
// To fetch the next page of records, call `fetchNextPage`.
// If there are more records, `page` will get called again.
// If there are no more records, `done` will get called.
fetchNextPage();
})
return data
},
})