Skip to content

nagyistge/youtube-stream

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-stream

Stream Youtube Livestream Chat in Nodejs.

npm install --save youtube-stream

Usage

.connect(auth, accessToken, liveChatId, callback)

auth

{
  "client_id" : "yourAppClientId",
  "client_secret" : "yourAppClientSecret",
  "redirect_uris" :
  [
    "yourAppRedirectUris"
  ]
}

accessToken

Access token of the user you are collecting for.

liveChatId

Live Chat Id of the live stream you want to collect.

callback

Function invoked with (err, results).

Will be executed at regular intervals with new messages.

If err is set, the stream will stop.

License

MIT

About

Stream Youtube Livestream Chat in Nodejs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%