plouc / mozaik-ext-weather

Mozaïk weather widgets
MIT License
8 stars 18 forks source link

open weather API has moved the 16 day forecast to a paid model #17

Open brianespinosa opened 6 years ago

brianespinosa commented 6 years ago

Expected behavior

When using the weather widget I will see a forecast

Actual behavior

I cannot see a forecast and get a 401 error from the weather API. This is due to their 16 day forecast endpoint now being paid only.

Steps to reproduce

Use the widget with a free account to see the 401 errors.

NOTE

I already have the widget working again using the day forecast. The JSON response is slightly different for that so the JSX needs to get updated. I will submit a pull request once I have it fixed and working again. Additionally, there are also new air quality codes for forecast that need to be added to WeatherCodeHelper which I have also already done.

brianespinosa commented 6 years ago

I should have a pull request to resolve these issues sometime tomorrow.