Bot::Cobalt::Plugin::Weather - Weather retrieval plugin for Bot::Cobalt
# In your plugins.conf: WX: Module: Bot::Cobalt::Plugin::Weather Opts: API_Key: "my OpenWeatherMap API key here" # OpenWeatherMap's free tier allows 60 requests per minute (default): RateLimit: 60 # Caching is on by default: DisableCache: 0 # Defaults are probably fine: CacheExpiry: 1200 CacheDir: ~ # On IRC: > !wx Boston, MA > !wx forecast Toronto, Canada # Previous queries remembered per-user for three minutes: > !wx hourly
A weather conditions/forecast retrieval plugin for Bot::Cobalt.
Uses http://www.openweathermap.org/ via POEx::Weather::OpenWeatherMap / Weather::OpenWeatherMap for retrieval.
Jon Portnoy <avenj@cobaltirc.org>
To install Bot::Cobalt::Plugin::Weather, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::Cobalt::Plugin::Weather
CPAN shell
perl -MCPAN -e shell install Bot::Cobalt::Plugin::Weather
For more information on module installation, please visit the detailed CPAN module installation guide.