1.3.2 • Published 3 years ago

youtube-notifier v1.3.2

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

youtube-notifier

Sends notifications when added channels upload videos. Gets information via YouTube feeds.

Usage

const ytnotifier = require('youtube-notifier');
const Notifier = new ytnotifier({
    channels: ['A channel ID', 'Another channel ID'],
    checkInterval: 50 /* Interval to check the latest video. */
});

Notifier.on('video', video => {
    console.log(video);
    /*
    video = {
        channelName,
        title,
        publishDate,
        url,
        id
    };
    */
});

Methods

Notifier.addChannels()

ParameterTypeReturns
channelsarrayPromise

Notifier.removeChannels()

ParameterTypeReturns
channelsarrayPromise
1.3.2

3 years ago

1.3.1

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago