Zren / plasma-applet-simpleweather

https://store.kde.org/p/1287571/
4 stars 5 forks source link

Add OpenWeatherMap provider #5

Open trmdi opened 5 years ago

trmdi commented 5 years ago

Some small cities can not be found with the current providers but they can be found on https://openweathermap.org/

Zren commented 5 years ago

The weather sources are supplied from the default weather widget's dataengine. This would mean adding a new weather "ion" to Plasma 5.16.

/u/frinring from this reddit thread wrote a template for creating an ion.

My first step will be to compile and modify the "env canada" weather ion. With that practice, I might be able to add an OpenWeatherMap ion.

There was a bug mentioning OWM, so there might even be a OWM api key somewhere. Since it was removed as a source, it's possible it no longer exists, which means we'll use the "free tier", with a limit of 60*60=3600 users/hour.