3.0.0 • Published 5 years ago

streamlabs v3.0.0

Weekly downloads
86
License
-
Repository
github
Last release
5 years ago

StreamLabs

Build Status Coverage Status

This module is a implementation of Streamlabs API https://dev.streamlabs.com/

You need nodejs version > 8x because this module was made with ES6.

node --version

Installation:

Add the latest version of streamlabs to your package.json:

npm install streamlabs --save

Usage:

const StreamlabsApi = require('streamlabs');

Give the credentials of the StreamLabs to the constructor

ParamsDescriptionOptionalType
clientIdThe Client Idfalsestring
clientSecretThe Client Secretfalsestring
redirectUrlThe RedirectUrl with format 'http://yourdomain/callback'falsestring
scopesThey are 4 scopes: donations.read donations.create alerts.create socket.tokenfalsestring
socketTokenThe socket tokentruestring
accessTokenThe access token if you have onetruestring
const streamlabs = new StreamlabsApi({
  clientId: 'clientId',
  clientSecret: 'clientSecret',
  redirectUrl: 'http://yourdomain/yourrequest',
  scopes: 'donations.read donations.create alerts.create socket.token alerts.write points.write points.read credits.write jar.write wheel.write',
});




Test Integration:

You can test the module with your productive credentials. First change the clientId and clientSecret in tests/integration/streamlabs.js with yours credentials, open a console and run npm start, open browser and type http://localhost:8080/

WARNING Always when you run npm start, the first link you click should be Authorization

3.0.0

5 years ago

2.0.0

5 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.1.2

7 years ago

1.1.1-1

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago