hubot-openweathermap

β˜”οΈπŸŒ‘οΈ Get current weather from OpenWeatherMap

MIT License

Downloads
90
Stars
1

OpenWeatherMap for Hubot

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

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

Package Rankings
Top 42.06% on Npmjs.org
Badges
Extracted from project README
npm version Node CI
Related Projects