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 Module #32

Merged
merged 1 commit into from
Mar 17, 2016
Merged

Weather Module #32

merged 1 commit into from
Mar 17, 2016

Conversation

JaredCubilla
Copy link
Contributor

Hi,

I wrote up the beginnings of a weather module, which should address issue #13. It uses the FreeGeoIP API for finding the user's location (I could have used the built-in geolocation API, but there's less browser support and more ability for people to accidentally disable location tracking), and the OpenWeatherMap mentioned on the original issue (I signed up myself with a free account and used the API key here).

Right now, it only has two functions: "what is the weather", and "what is the temperature". I've used a box format with the "what is the weather", similar to the format used with "should I watch" functions. The design doesn't look jaw-dropping, but I think it's decent. I'm pretty sure a little but more modification to the CSS would make it look a lot better, but I didn't spend too much time on that.

I'm sure that the module has lots of room for expansion and improvement. The two APIs I mentioned above can give a lot more information (eg. wind speed/direction, region names, cloudiness, etc.), but I've decided to work on just these two functions right now, because they seem the most "essential" to what a weather module would look like. You could actually probably turn in this into a geography module too, because it gives a lot of information of latitude, longitude, and other stuff. Integrating Google's Maps API would be a really cool feature.

But yeah, here you go.

@cherche
Copy link
Owner

cherche commented Mar 17, 2016

Looks good, thank you very much!

cherche pushed a commit that referenced this pull request Mar 17, 2016
@cherche cherche merged commit 8d28d18 into cherche:gh-pages Mar 17, 2016
@cherche cherche mentioned this pull request Mar 17, 2016
cherche pushed a commit that referenced this pull request Dec 27, 2017
cherche pushed a commit that referenced this pull request Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants