2.0.4 • Published 6 years ago

dashbling-widget-weather v2.0.4

Weekly downloads
29
License
MIT
Repository
-
Last release
6 years ago

Dashbling weather widget

This is a widget for Dashbling, displaying local Weather information.

Add to your project:

yarn add dashbling-widget-weather

Add a job to fetch weather data:

// dashbling.config.js
module.exports = {
    jobs: [
        {
            schedule: "*/30 * * * *",
            fn: require("dashbling-widget-weather/job")(
                "weather-amsterdam",
                "727232"
            )
        }
    ]
}

And add the widget to your dashboard:

import { WeatherWidget } from "dashbling-widget-weather";
const WeatherInAmsterdam = connect("weather-amsterdam")(WeatherWidget);

export default props => {
  return (
    <Dashboard>
      <WeatherInAmsterdam title="Amsterdam" />
    </Dashboard>
  );
};
2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.2-2

6 years ago

2.0.2-1

6 years ago

2.0.2-0

6 years ago

2.0.1

6 years ago

2.0.1-0

6 years ago

2.0.0

6 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago