Combine Pythonista's location.reverse_geocode() with weather data from openweathermap.org to print out the weather where you are. The openweathermap.org API offers lots more possibilities... https://gist.github.com/cclauss/8818324
Forum Archive
Weather where you are
ccc
Feb 06, 2014 - 22:49
kleerkoat
Feb 05, 2014 - 19:28
hey ccc, i don't think you meant to give me (monkeygrip) credit ;)
i'm new to github and how/when you are supposed to fork things. i think i forked it but didn't make any changes. think credit should goto kultprok
;)
ccc
Feb 06, 2014 - 04:15
Updated:
- CountryCode instead of Country in the URL in openweathermap.
- Add &units=metric to that URL for better temperature conversion.
- Give proper attribution to kultprok instead of kleerkoat/monkeygrip.
Sebastian
Feb 06, 2014 - 07:57
Nice! It prints out the information I need in a clean way, which makes it easy to read. Tanks for sharing!
I made something similar a while back, but instead of using country code and city, etc, I used latitude and longitude.
kleerkoat
Feb 06, 2014 - 22:49
thanks ccc.
can you give me a real brief intro on when to fork and when to clone, or if any of that is necessary and just copy paste? mainly dealing with gists. I'd appreciate it.