johnmaguire / Cardinal

A Python IRC bot, designed to make adding functionality quick and simple. (est. 2013)
MIT License
100 stars 38 forks source link

[plugins] Change weather API to OpenWeatherMap #192

Closed obviyus closed 3 years ago

obviyus commented 3 years ago

Fixes #191.

johnmaguire commented 3 years ago

Thanks for this! There was a hiccup in that OpenWeatherMap doesn't seem to return the same location for many old queries - especially around zip codes.

I ended up implementing WeatherAPI.com as well. There's a toggle now, so either provider can be selected via configuration.