New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

streamlabs

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streamlabs

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

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
4
-60%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 19 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts