Skip to content

ArunSahadeo/whatson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatson

Node command-line executable that hooks into the Twitch API and returns a list of live channels from the ones you are following.

Prerequisites

Run the following:

npm install

Also copy config.json.example as config.json and enter the appropriate values for your Twitch account.

Usage

How to check if you are following a channel

node app.js --is-following=somechannel

If you are following channel:

You are following somechannel

If you are not following channel:

You are not following somechannel

How to check if a specific channel is live or not

node app.js --is-live=somechannel

If channel is live:

somechannel is live

If channel is not live:

somechannel is not live

How to get live streams that your user is following:

node app.js --channels

Getting 5 live streams that your user is following:

node app.js --channels --limit=5

How to follow a channel on Twitch:

node app.js --follow=somechannel

How to unfollow a channel on Twitch:

node app.js --unfollow=somechannel

How to get live streams from a community

node app.js --community=somecommunity

Getting 5 live streams from a community

node app.js --community=somecommunity --limit=5

How to get live streams from a game

node app.js --game=somegame

Getting 5 live streams from a game

node app.js --game=somegame --limit=5

Find out the date of the channel's most recent video

node app.js --last-updated=somechannel

Get channel information for a live stream (opens a preview image of stream)

node app.js --channel-info=somechannel

Return text from the channel's panels (if available)

node app.js --panel-info=somechannel

Get all channels you are following (regardless of whether they are live or not)

node app.js --get-followed

Get all channels you are following whose name begins with the letter A

node app.js --get-followed --filter-char=a

Get all channels you are following in ascending order

node app.js --get-followed --order-by=asc

Get all channels you are following in descending order

node app.js --get-followed --order-by=desc

About

Integrates with the Twitch API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published