SecUSo / privacy-friendly-weather

Privacy Friendly App for Android that can display weather for cities.
GNU General Public License v3.0
114 stars 29 forks source link

include flood and other weather warnings? #170

Open dkg opened 3 years ago

dkg commented 3 years ago

I'm in Brooklyn, NY, USA right now and using this app to look at weather for this location.
However, i also discovered that there is a flood warning in effect -- but the app didn't alert me to it.

Looks like the OWM "one-call API" returns an "alerts" field. when i register an API key with them directly, i do get the alerts data:

alerts.json.txt is the resource currently returned when i query https://api.openweathermap.org/data/2.5/onecall?lat=40.69&lon=-73.99&exclude=current,daily,hourly,weekly,minutely&appid=REDACTED -- this would definitely be useful information to have in the weather app without having to register my own API key (registering my own API key defeats some of the privacy-friendly features!)

dkg commented 3 years ago

(note: even when i put my own API key in the app, i still don't see the alerts)