drop-monitor
v2.0.2
Published
Find streams with 'Drops Enabled' tag by name of the game
Downloads
6
Maintainers
Readme
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);