Each day is also including hourly forecast, but this PR lays the
groundwork by talking to the right endpoint.
Instead of day and night values (like in the old weather-widget) I'm
showing min and max temperature as forecasted here.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
Unlike weather widget I only have the current weather in place here.
I'm okay with the default font so I have not created another screenshot.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This is going to be marked as deprecated by streetturtle going forward.
As of today, I am still able to successfully call the v2.5 API.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This was done to allow for choice. In the first step I copied over the
existing code into a new folder and accompanied it with icons and
locales. There is no indicator of night in the JSON responses, which
made me delete the respective icons.
I copied and updated the README to fit the current implementation.
I will need to add screenshots before I can ask for another round of
review.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
Luacheck fails over this unused code. Streetturtle gave me green light
to remove it as part of this PR.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
It appears that OpenWeatherMap sometimes sent out bad JSON.
Learn from the lesson and do better in this PR.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
When I looked into OpenWeatherMap 3.0 API they demanded credit card
information even for their free tier. Therefore I decided to move to
another provider with a generous tier.
In a first step I rewrote the current weather report (i.e. no forecast)
to use it.
I haven't received any commentary on #442 so I don't know where your
mind was going. If OpenWeatherMap phases out its 2.5 API and nobody else
intends to use their 3.0 one, I offer to take this implementation
instead.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>