greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.81k stars 472 forks source link

Feature request: Weather data using NOAA service #1980

Closed psibi closed 6 months ago

psibi commented 6 months ago

While using XMobar and later cnx status bar, I found weather plugin using NOAA very helpful. Unfortunately, it's missing in i3status-rust, which I currently want to use as I'm transitioning to Wayland.

Relevant code/doc of this weather plugin in these projects:

The advantage compared to the existing weather plugins in i3status-rust is that you don't need to configure NOAA with an API key. All you need to do is figure out is station id and you are good to go.

If there is no objections, I can implement the same for this project. There is already a parser for it which I have written for cnx status bar: https://docs.rs/weathernoaa/latest/weathernoaa/weather/index.html (But it would need some changes to reuse reqwest client etc).

MaxVerevkin commented 6 months ago

The advantage compared to the existing weather plugins in i3status-rust is that you don't need to configure NOAA with an API key.

FYI, you don't need an API key for met.no

psibi commented 6 months ago

Thanks, using met.no solves it for me.