Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

weather not showing #31

Open
Runaround opened this issue Jul 10, 2016 · 2 comments
Open

weather not showing #31

Runaround opened this issue Jul 10, 2016 · 2 comments
Assignees
Labels

Comments

@Runaround
Copy link

The app isn't showing current weather conditions again.

@gbak
Copy link
Owner

gbak commented Oct 1, 2016

Yes, I saw this a few weeks ago. The yahoo API had likely changed, I'll have to look at it.

@gbak gbak added the bug label Oct 1, 2016
@gbak gbak self-assigned this Oct 1, 2016
@gbak
Copy link
Owner

gbak commented Oct 19, 2016

At some point Yahoo had changed the weather API. It's a bit of a hack, but the weather can be pulled correctly by changing the stokerweb.properties file.

Fist you must append text to your weather_zipcode and then replace the weather_url string.

Here is an example:

# Your local zip code to pull weather information.
weather_zipcode=30024)&format=json

# These should not change, it is important that there are no spaces after the trailing '='
weather_url=https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants