Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove support for the Weather Underground API #2396

Merged
merged 8 commits into from
Aug 17, 2019
Merged

Conversation

tantalum
Copy link

@tantalum tantalum commented Oct 23, 2018

Remove the Weather Underground API to resolve #2391

@tantalum tantalum changed the title #2391: Remove support for the Weather Underground API Remove support for the Weather Underground API Oct 23, 2018
@dsander
Copy link
Collaborator

dsander commented Oct 24, 2018

Thanks! We have to wait until the end of the year before we merge this, because the API stays online until then.

@dsander
Copy link
Collaborator

dsander commented Feb 16, 2019

Wunderground moved the shutdown date to the 15th of Feb, which was yesterday, but for some reason my WeatherAgent is still working ¯_(ツ)_/¯

@e-alfred
Copy link

The API doesn't work anymore after 5th of March. Please remove the code and maybe even add a better alternative like openweathermap.org.

@dsander dsander requested a review from knu August 12, 2019 21:01
Copy link
Member

@knu knu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found some minor nits in an error message, but you can fix it later.

@@ -135,22 +117,12 @@ def validate_location
end

def validate_options
errors.add(:base, "service must be set to 'darksky' or 'wunderground'") unless wunderground? || dark_sky?
errors.add(:base, "The Weather Underground API has been disables since Jan 1st 2018, please switch to DarkSky") if wunderground?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a trivial typo disables and maybe the date should be updated.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good cach ;-). I just pushed an update

@virtadpt
Copy link
Collaborator

I think that should be "disabled", not "disables".

@knu
Copy link
Member

knu commented Aug 17, 2019

Thanks!

@knu knu merged commit 390c958 into huginn:master Aug 17, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Depricate the Weather Underground API
5 participants