0.0.2 • Published 8 years ago

youtube-stream v0.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

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

0.0.2

8 years ago

0.0.1

8 years ago