A suite to track Project Diva score statistics and ratings / D4DJ event data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
projectdivar/server/node_modules/twitch-get-stream/examples/getChannelStreams.js

13 lines
384 B

var twitchStreams = require('../');
twitchStreams.get('Monstercat')
.then(function(streams) {
console.log('Got stream data.');
for (var stream of streams)
console.log(stream.quality + ' (' + stream.resolution + '): ' + stream.url);
})
.catch(function(error) {
if (error)
return console.log('Error caught:', error);
});