drop-monitor

2.0.2 • Public • Published

Twitch Drops Monitor

Find streams with 'Drops Enabled' tag by name of the game

Installation

`npm i drop-monitor'

Usage

Instantiate DropMonitor with Twitch API client ID and secret

const dropMonitor = new DropMonitor(
    YOUR_TWITCH_CLIENT_ID, 
    YOUR_TWITCH_CLIENT_SECRET
);

Use findStreamsWithDropsEnabled(gameName) to get all streams with tag 'Drops Enabled' from top 100 streams

const monitorPromise = dropMonitor.findStreamsWithDropsEnabled(gameName);

Package Sidebar

Install

npm i drop-monitor

Weekly Downloads

5

Version

2.0.2

License

MIT

Unpacked Size

2.98 kB

Total Files

5

Last publish

Collaborators

  • vanawy