api streamelements watchtime code example
Example: api streamelements watchtime
const fetch = require('node-fetch');
const url = 'https://api.streamelements.com/kappa/v2/points//watchtime';
const options = {method: 'GET', headers: {Accept: 'application/json'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));