Skip to content

Hennamann/youtube-live-chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-live-chat

Build Status

A library for get YouTube live chats

Demo

const YouTube = require('youtube-live-chat');

const yt = new YouTube('CHANNEL_ID_IS_HERE', 'APIKEY_IS_HERE');

yt.on('ready', () => {
	console.log('ready!');
	yt.listen(1000);
});

yt.on('chat', json => {
	console.log(json.snippet.displayMessage);
});

yt.on('error', err => {
	console.log(err);
});

Requirement

  • events ^1.1.1
  • request ^2.81.0

Install

$ npm install --seve youtube-live-chat

License

MIT

Author

yuta0801

About

A module for getting comments from YouTube livestreams

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%