coderhs / ruby_open_weather_map

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

Handle current weather queries for multiple cities #23

Closed JesseEmond closed 8 years ago

JesseEmond commented 9 years ago

See http://openweathermap.org/current#cities for the documentation.

3 calls are needed:

It appears to me that this would fit in the Current class, but the URLs are different (i.e. the URL for normal current weather differs from the one for rectangle/circle/cities). Maybe retrive could take an optional parameter to force a URL only for that request?

I will work on it and hopefully submit a PR in the following days.