coderhs / ruby_open_weather_map

A ruby wrapper for open weather map
MIT License
79 stars 52 forks source link

Add units options #10

Closed penguinco closed 10 years ago

penguinco commented 10 years ago

openweathermap accept units options like this

http://api.openweathermap.org/data/2.5/weather?q=Tokyo,jp&units=metric

This option switch temperature coding. Very useful for me. documentation: http://bugs.openweathermap.org/projects/api/wiki/Api_2_5_weather#4-Other-parameters

penguinco commented 10 years ago

oh it does not work. (work in progress....)

coderhs commented 10 years ago

Another pull request with the same feature was merged to master, so I am closing this pull request. Thank you very much for your contribution and Interest in the open-weather. Hope you would continue to contribute.

penguinco commented 10 years ago

thank you! I will try it later.