woodruffw / yossarian-bot

An IRC bot with a bunch of features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A new Weather plugin

woodruffw opened this issue · comments

As of 90fe0e4, the old (Wunderground-based) Weather plugin has been disabled -- Wunderground appears to have broken much of the search functionality in their API.

Open to suggestions and PRs for a new Weather plugin.

List of some public weather APIs - https://github.com/toddmotto/public-apis#weather

Metaweather looks promising because it requires no apikey and does not have an apparent rate limit. It has been around since 2017, so it is might be stable enough to use. https://www.metaweather.com/api/

Scratch Metaweather - searching by location "53211", "Milwaukee", or "Milwaukee, WI" does not appear to yield any matches. So it's not very flexible with human input.

A good stop-gap here would be to take the current Wolfram|Alpha (!wa) plugin and use its functionality for weather-only queries. Something like "weather in {query}" would probably work just fine.