2.0.4 • Published 4 years ago

dashbling-widget-weather v2.0.4

Weekly downloads
29
License
MIT
Repository
-
Last release
4 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

4 years ago

2.0.3

4 years ago

2.0.2

5 years ago

2.0.2-2

5 years ago

2.0.2-1

5 years ago

2.0.2-0

5 years ago

2.0.1

5 years ago

2.0.1-0

5 years ago

2.0.0

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago