You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The README.md gives an example on how to gather data about devices, which looks awesomely simple and straight forward:
beast('temperature').at('kitchen').get().then(function (data) {
console.log('The temperature in the kitchen is ' + data + 'ºC')
})
The Promise is however fulfilled with a Response rather than the actual data. Same goes for calling get('temperature') as the argument is unused in the code. So for some reason the docs are quite different from the actual implemenation.