0.1.2 • Published 8 years ago
leitstand-forecast v0.1.2
leitstand-forecast

Forecast plugin for Leitstand
Installation
First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:
npm install leitstand-forecast --save
Usage
leitstand
.plugin('forecast', {
settings: {
service: 'darksky',
key: '<KEY>',
units: 'celcius'
}
})
.widget('forecast', {
plugin: 'forecast',
methods: {
name: 'get',
opts: [
// see: http://www.latlong.net/
[48.771371, 9.172061]
],
key: 'forecast',
schedule: '*/10 * * * *'
}
})
API
License
MIT © Sebastian Krüger