Fauna

The distributed serverless database combining the flexibility of NoSQL with the relational querying capabilities of SQL systems.

Integrate the Fauna API with the Twitch API

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

Block User with Twitch API on New or Removed Documents in a Collection from Fauna API
Fauna + Twitch
 
Try it
Check Channel Subscription with Twitch API on New or Removed Documents in a Collection from Fauna API
Fauna + Twitch
 
Try it
Delete Video with Twitch API on New or Removed Documents in a Collection from Fauna API
Fauna + Twitch
 
Try it
Get Channel Editors with Twitch API on New or Removed Documents in a Collection from Fauna API
Fauna + Twitch
 
Try it
Get Channel Followers with Twitch API on New or Removed Documents in a Collection from Fauna API
Fauna + Twitch
 
Try it
New or Removed Documents in a Collection from the Fauna API

Emit new event each time you add or remove a document from a specific collection, with the details of the document.

 
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
Block User with the Twitch API

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

 
Try it
Execute GraphQL Query with the Fauna API

Performs an arbitrary authorized GraphQL query. See docs here

 
Try it
Check Channel Subscription with the Twitch API

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

 
Try it
Import GraphQL schema with the Fauna API

Import graphQL schema to a database. See docs here

 
Try it
Delete Video with the Twitch API

Deletes a specified video

 
Try it

Overview of Fauna

Fauna API offers a powerful serverless database solution for modern applications. Its unique capabilities allow for highly scalable, secure, and flexible data management. With Pipedream, you can harness the power of Fauna to create intricate serverless workflows that react to various triggers, manage data efficiently, and connect seamlessly with other services and APIs to automate complex tasks.

Connect Fauna

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = defineComponent({
  props: {
    faunadb: {
      type: "app",
      app: "faunadb",
    }
  },
  async run({steps, $}) {
    const faunadb = require('faunadb')
    const q = faunadb.query
    
    const client = new faunadb.Client({ secret: this.faunadb.$auth.secret })
    
    // Lists collections in the database tied to your secret key
    const collectionsPaginator = await client.paginate(q.Collections())
    
    this.collections = []
    await collectionsPaginator.each(page => {
      for (const collection of page) {
        this.collections.push(collection.id)
      }
    })
  },
})

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}`,
      },
    })
  },
})