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.
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.