2.0.2 • Published 3 years ago

drop-monitor v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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);