A Dashing widget to display weather information using World Weather Online API and Skycons. Live here.
To use this widget, copy forecast.coffee
, forecast.html
, and forecast.scss
into the /widgets/forecast
directory of your Dashing app. This directory does not exist in new Dashing apps, so you may have to create it. Copy the forecast.rb
file into your /jobs
folder, and include the Skycons library, skycons.js
, in your assets/javascripts
directory. Edit the forecast.rb
file to include your World Weather Online API key and your zip code.
To include the widget in a dashboard, add the following to your dashboard layout file:
#####dashboards/sample.erb ...
- World Weather Online API Key (which you can get here)
- Skycons library
- Zip code