/dlive-graphql-example

Basic app to connect to DLive graphql and websockets

Primary LanguageJavaScript

dlive-graphql-example

Basic app to connect to DLive graphql and websockets https://dlive.tv/ . Replace CLIENT_ID, API_KEY & channelname in queries to get the app working. Can be used for discord bots.

Features!

  • Get OAUTH token from Dlive App.
  • Connect to graphql-websocket (wss).
  • Get the message and live event.
  • Get the data by graphql of any streamer.

Installation

Dlive APp requires Node.js

Install the dependencies and devDependencies and start the server.

$ cd dlive-graphql-example
$ npm install
$ node index