All Projects → nicholastay → node-twitch-get-stream

nicholastay / node-twitch-get-stream

Licence: MIT license
Gets the m3u8 direct stream URLs of a live stream on twitch.tv.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-twitch-get-stream

tpack
Pack a Go workflow/function as a Unix-style pipeline command
Stars: ✭ 55 (+22.22%)
Mutual labels:  stream
SFMediaStream
HTML5 media streamer library for playing music, video, playlist, or even live streaming microphone & camera with node server
Stars: ✭ 97 (+115.56%)
Mutual labels:  stream
twitch2dcs
DCS World mod that allows twitch chat to be viewed inside the game
Stars: ✭ 24 (-46.67%)
Mutual labels:  twitchtv
plugin.video.sendtokodi
📺 plays various stream sites on kodi using youtube-dl
Stars: ✭ 86 (+91.11%)
Mutual labels:  stream
stream-feed-flutter
Stream Feed official Flutter SDK. Build your own feed experience using Dart and Flutter.
Stars: ✭ 67 (+48.89%)
Mutual labels:  stream
jsCast
📻 An Audio Streaming Application written in JavaScript
Stars: ✭ 23 (-48.89%)
Mutual labels:  stream
android-chat-tutorial
Sample apps for the Stream Chat Android SDK's official tutorial
Stars: ✭ 44 (-2.22%)
Mutual labels:  stream
rtmp-social-multicast
Want to stream to Twitch, YouTube, Facebook, and/or Periscope at the same time? That's what this project allows you to do!
Stars: ✭ 42 (-6.67%)
Mutual labels:  stream
socializer
Rails engine to make your projects social. Adds stream, profile, circles, groups and notifications.
Stars: ✭ 56 (+24.44%)
Mutual labels:  stream
NativeTwitch
Native Twitch Player
Stars: ✭ 64 (+42.22%)
Mutual labels:  twitchtv
NPAudioStream
Continuously stream a playlist of audio through a lightweight Objective-C library.
Stars: ✭ 23 (-48.89%)
Mutual labels:  stream
lead
Sink your streams.
Stars: ✭ 14 (-68.89%)
Mutual labels:  stream
panel
ReCast is a multi platform restreaming tool, you can stream with one servers to multiple services
Stars: ✭ 40 (-11.11%)
Mutual labels:  stream
elasticbulk
Add data in bulk to elasticsearch. It supports data streaming from PostgreSQL or Filesystem
Stars: ✭ 27 (-40%)
Mutual labels:  stream
ElgatoLegacy
Use your Elgato Stream Deck on Windows 7, 8 and 8.1!
Stars: ✭ 25 (-44.44%)
Mutual labels:  stream
mst-effect
💫 Designed to be used with MobX-State-Tree to create asynchronous actions using RxJS.
Stars: ✭ 19 (-57.78%)
Mutual labels:  stream
mediapipe plus
The purpose of this project is to apply mediapipe to more AI chips.
Stars: ✭ 38 (-15.56%)
Mutual labels:  stream
ionic-chat-tutorial-react
Build a Real-Time Chat App with Ionic, React, and Stream
Stars: ✭ 19 (-57.78%)
Mutual labels:  stream
rec-core
Data pipelining service
Stars: ✭ 19 (-57.78%)
Mutual labels:  stream
textics
📉 JavaScript Text Statistics that counts lines, words, chars, and spaces.
Stars: ✭ 36 (-20%)
Mutual labels:  stream

node-twitch-get-stream

Gets the m3u8 direct stream URLs of a live stream on twitch.tv.

NOTE: v0.6.0 breaking change - no longer needs client ID, as only one works as discussed in #9.

Usage

npm install --save twitch-get-stream

var twitchStreams = require('twitch-get-stream')
...
twitchStreams.get('channel')
    .then(function(streams) {
        ...
    });

The output will be as an array of objects, example:

[
  {
    quality: 'Source',
    resolution: '1280x720',
    url: 'long_twitch_hls_url_here'
  }, {...}
]

Other uses

twitchStream.raw('channel');
twitchStream.rawParsed('channel');

Similar to above, however .raw is used for getting the raw m3u8 data as a string, and .rawParsed is used to get the raw data, parsed through the m3u8 lib into an object.

Upgrading Notes

  • 0.4.1 to 0.5.0 - .nodeify() support has been removed in favor of just using the native Promise over the npm package; thus, you cannot use callbacks anymore. If you really need callback support, look into some library that can change it back for you. The superagent library has also been removed, replaced with axios. This change should not affect external code interfacing the library.

Other

If theres anything else you want with this module, do tell me but I just put together this module for another project I was working on. Feel free to issue a pull request if you have any code changes you want to contribute yourself.

License

This project is licensed under the terms of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].