var request = require('request');
var options = {
'method': 'GET',
'url': 'https://api.squadcast.fm/v2/sessions',
'headers': {
'Authorization': 'Bearer YOUR_API_KEY'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});