CurrentWeather rain, if it exists, can be 1h or 3h
CurrentWeather rain, if it exists, can be 1h or 3h. The Class CurrentWeather.Rain only handles the 1h case.
http://api.openweathermap.org/data/2.5/weather?q=Tallahassee,US&units=imperial
{"coord":{"lon":-84.28,"lat":30.44},"sys":{"message":0.0162,"country":"US","sunrise":1423139101,"sunset":1423178235},"weather":[{"id":501,"main":"Rain","description":"moderate rain","icon":"10n"}],"base":"cmc stations","main":{"temp":46.11,"temp_min":46.11,"temp_max":46.11,"pressure":1023.44,"sea_level":1029.48,"grnd_level":1023.44,"humidity":100},"wind":{"speed":5.94,"deg":15.0082},"clouds":{"all":100},"rain":{"3h":6},"dt":1423129028,"id":4174715,"name":"Tallahassee","cod":200}
http://api.openweathermap.org/data/2.5/weather?q=Amsterdam,NL&units=imperial
{"coord":{"lon":4.89,"lat":52.37},"sys":{"type":3,"id":51677,"message":0.0039,"country":"NL","sunrise":1423120456,"sunset":1423154076},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"base":"cmc stations","main":{"temp":35.71,"humidity":72,"pressure":1025.04,"temp_min":33.44,"temp_max":38.48},"wind":{"speed":3.67,"gust":3.4,"deg":45},"rain":{"1h":1},"snow":{"3h":0.05},"clouds":{"all":32},"dt":1423140939,"id":2759794,"name":"Amsterdam","cod":200}
Comments (2)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment
Hi Tim, It's done in the latest version. Now Rain and Snow supports both 1h and 3h values. Thanks!