youtube-stream

0.0.2 • Public • Published

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

/youtube-stream/

    Package Sidebar

    Install

    npm i youtube-stream

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • alexanderchase3
    • jamesfrosty