@stephenyeargin/hubot-openweathermap

1.1.2 • Public • Published

OpenWeatherMap for Hubot

Retrieves the current conditions for a configured location or by query.

npm version Node CI

Installation

In your hubot repository, run:

npm install @stephenyeargin/hubot-openweathermap --save

Then add @stephenyeargin/hubot-openweathermap to your external-scripts.json:

[
  "@stephenyeargin/hubot-openweathermap"
]

Configuration

Environment Variables Required? Description
HUBOT_OPEN_WEATHER_MAP_API_KEY Yes API key from the developer console
HUBOT_DEFAULT_LATITUDE No Latitude for default query of hubot weather
HUBOT_DEFAULT_LONGITUDE No Longitude for default query of hubot weather

Usage

user1> hubot weather
hubot> Currently scattered clouds and 49F/10C in Nashville

Slack

screenshot

Readme

Keywords

Package Sidebar

Install

npm i @stephenyeargin/hubot-openweathermap

Weekly Downloads

14

Version

1.1.2

License

MIT

Unpacked Size

104 kB

Total Files

24

Last publish

Collaborators

  • stephenyeargin