5

You Don't Need an API Wrapper

 3 years ago
source link: https://zverok.github.io/blog/2017-02-23-four-weathers.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

OpenWeatherMap

(After you’ve ruled out the difference between open_weather_map, open_weather and open-weather gems—the most recent is the latter):

OpenWeather::Current.city('Kharkiv', APPID: 'demo')
# => {"coord"=>{"lon"=>36.25, "lat"=>50}, "weather"=>[{"id"=>701, "main"=>"Mist", "description"=>"mist", "icon"=>"50n"}], "base"=>"stations", "main"=>{"temp"=>274.15, "pressure"=>1000, "humidity"=>97, "temp_min"=>274.15, "temp_max"=>274.15}, "visibility"=>5000, "wind"=>{"speed"=>6, "deg"=>220}, "clouds"=>{"all"=>90}, "dt"=>1487703600, "sys"=>{"type"=>1, "id"=>7355, "message"=>0.0059, "country"=>"UA", "sunrise"=>1487651560, "sunset"=>1487689506}, "id"=>706483, "name"=>"Kharkiv", "cod"=>200}
OpenWeather::Forecast.city('Kharkiv', APPID: 'demo')
# => {"city"=>{"id"=>706483, "name"=>"Kharkiv", "coord"=>{"lon"=>36.25, "lat"=>50}, "country"=>"UA", "population"=>0, "sys"=>{"population"=>0}}, "cod"=>"200", "message"=>0.075, "cnt"=>40, "list"=>[{"dt"=>1487710800, "main"=>{"temp"=>273.68, "temp_min"=>273.68, "temp_max"=>273.891, "pressure"=>992.85, "sea_level"=>1013.6, "grnd_level"=>992.85, "humidity"=>98, "temp_kf"=>-0.22}, "weather"=>[{"id"=>601, "main"=>"Snow", "description"=>"snow", "icon"=>"13n"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>6.1, "deg"=>226.501}, "rain"=>{}, "snow"=>{"3h"=>2.333}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-21 21:00:00"}, {"dt"=>1487721600, "main"=>{"temp"=>274.07, "temp_min"=>274.07, "temp_max"=>274.209, "pressure"=>991.54, "sea_level"=>1012.3, "grnd_level"=>991.54, "humidity"=>96, "temp_kf"=>-0.14}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>5.96, "deg"=>229.505}, "rain"=>{"3h"=>0.0075}, "snow"=>{"3h"=>1.017}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-22 00:00:00"}, {"dt"=>1487732400, "main"=>{"temp"=>274.19, "temp_min"=>274.19, "temp_max"=>274.257, "pressure"=>991.47, "sea_level"=>1012.16, "grnd_level"=>991.47, "humidity"=>98, "temp_kf"=>-0.07}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>88}, "wind"=>{"speed"=>5.31, "deg"=>254.001}, "rain"=>{"3h"=>0.21}, "snow"=>{"3h"=>0.711}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-22 03:00:00"}, {"dt"=>1487743200, "main"=>{"temp"=>274.189, "temp_min"=>274.189, "temp_max"=>274.189, "pressure"=>992.58, "sea_level"=>1013.38, "grnd_level"=>992.58, "humidity"=>96, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10d"}], "clouds"=>{"all"=>76}, "wind"=>{"speed"=>5.01, "deg"=>262.008}, "rain"=>{"3h"=>0.025}, "snow"=>{"3h"=>0.167}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-22 06:00:00"}, {"dt"=>1487754000, "main"=>{"temp"=>274.29, "temp_min"=>274.29, "temp_max"=>274.29, "pressure"=>993.5, "sea_level"=>1014.35, "grnd_level"=>993.5, "humidity"=>98, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13d"}], "clouds"=>{"all"=>88}, "wind"=>{"speed"=>5.11, "deg"=>263.501}, "rain"=>{}, "snow"=>{"3h"=>0.106}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-22 09:00:00"}, {"dt"=>1487764800, "main"=>{"temp"=>274.211, "temp_min"=>274.211, "temp_max"=>274.211, "pressure"=>993.92, "sea_level"=>1014.68, "grnd_level"=>993.92, "humidity"=>96, "temp_kf"=>0}, "weather"=>[{"id"=>800, "main"=>"Clear", "description"=>"clear sky", "icon"=>"01d"}], "clouds"=>{"all"=>80}, "wind"=>{"speed"=>5.11, "deg"=>265}, "rain"=>{}, "snow"=>{"3h"=>0.0065}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-22 12:00:00"}, {"dt"=>1487775600, "main"=>{"temp"=>273.81, "temp_min"=>273.81, "temp_max"=>273.81, "pressure"=>995.28, "sea_level"=>1016.16, "grnd_level"=>995.28, "humidity"=>97, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13d"}], "clouds"=>{"all"=>80}, "wind"=>{"speed"=>4.77, "deg"=>268.5}, "rain"=>{}, "snow"=>{"3h"=>0.0575}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-22 15:00:00"}, {"dt"=>1487786400, "main"=>{"temp"=>273.711, "temp_min"=>273.711, "temp_max"=>273.711, "pressure"=>996.65, "sea_level"=>1017.62, "grnd_level"=>996.65, "humidity"=>95, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13n"}], "clouds"=>{"all"=>88}, "wind"=>{"speed"=>5, "deg"=>268.503}, "rain"=>{}, "snow"=>{"3h"=>0.0875}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-22 18:00:00"}, {"dt"=>1487797200, "main"=>{"temp"=>273.408, "temp_min"=>273.408, "temp_max"=>273.408, "pressure"=>997.27, "sea_level"=>1018.26, "grnd_level"=>997.27, "humidity"=>97, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13n"}], "clouds"=>{"all"=>80}, "wind"=>{"speed"=>4.71, "deg"=>256.003}, "rain"=>{}, "snow"=>{"3h"=>0.06125}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-22 21:00:00"}, {"dt"=>1487808000, "main"=>{"temp"=>272.378, "temp_min"=>272.378, "temp_max"=>272.378, "pressure"=>996.11, "sea_level"=>1017.17, "grnd_level"=>996.11, "humidity"=>94, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13n"}], "clouds"=>{"all"=>88}, "wind"=>{"speed"=>5.37, "deg"=>227.502}, "rain"=>{}, "snow"=>{"3h"=>0.04125}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-23 00:00:00"}, {"dt"=>1487818800, "main"=>{"temp"=>272.663, "temp_min"=>272.663, "temp_max"=>272.663, "pressure"=>992.25, "sea_level"=>1013.04, "grnd_level"=>992.25, "humidity"=>94, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13n"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>7.06, "deg"=>202.001}, "rain"=>{}, "snow"=>{"3h"=>1.2325}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-23 03:00:00"}, {"dt"=>1487829600, "main"=>{"temp"=>273.991, "temp_min"=>273.991, "temp_max"=>273.991, "pressure"=>989.49, "sea_level"=>1010.14, "grnd_level"=>989.49, "humidity"=>95, "temp_kf"=>0}, "weather"=>[{"id"=>601, "main"=>"Snow", "description"=>"snow", "icon"=>"13d"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>7.16, "deg"=>225.511}, "rain"=>{}, "snow"=>{"3h"=>1.695}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-23 06:00:00"}, {"dt"=>1487840400, "main"=>{"temp"=>274.635, "temp_min"=>274.635, "temp_max"=>274.635, "pressure"=>988.5, "sea_level"=>1009.13, "grnd_level"=>988.5, "humidity"=>97, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10d"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>7.42, "deg"=>254.002}, "rain"=>{"3h"=>0.615}, "snow"=>{"3h"=>0.8425}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-23 09:00:00"}, {"dt"=>1487851200, "main"=>{"temp"=>274.906, "temp_min"=>274.906, "temp_max"=>274.906, "pressure"=>989.62, "sea_level"=>1010.23, "grnd_level"=>989.62, "humidity"=>96, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10d"}], "clouds"=>{"all"=>80}, "wind"=>{"speed"=>7.06, "deg"=>271.5}, "rain"=>{"3h"=>0.16}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-23 12:00:00"}, {"dt"=>1487862000, "main"=>{"temp"=>274.305, "temp_min"=>274.305, "temp_max"=>274.305, "pressure"=>992.74, "sea_level"=>1013.44, "grnd_level"=>992.74, "humidity"=>95, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10d"}], "clouds"=>{"all"=>68}, "wind"=>{"speed"=>6.82, "deg"=>274.003}, "rain"=>{"3h"=>0.06}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-23 15:00:00"}, {"dt"=>1487872800, "main"=>{"temp"=>274.26, "temp_min"=>274.26, "temp_max"=>274.26, "pressure"=>995.3, "sea_level"=>1016.17, "grnd_level"=>995.3, "humidity"=>94, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>88}, "wind"=>{"speed"=>6.61, "deg"=>269.505}, "rain"=>{"3h"=>0.145}, "snow"=>{"3h"=>0.0225}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-23 18:00:00"}, {"dt"=>1487883600, "main"=>{"temp"=>274.034, "temp_min"=>274.034, "temp_max"=>274.034, "pressure"=>997.16, "sea_level"=>1017.98, "grnd_level"=>997.16, "humidity"=>93, "temp_kf"=>0}, "weather"=>[{"id"=>800, "main"=>"Clear", "description"=>"clear sky", "icon"=>"01n"}], "clouds"=>{"all"=>76}, "wind"=>{"speed"=>5.21, "deg"=>260.001}, "rain"=>{}, "snow"=>{"3h"=>0.0025}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-23 21:00:00"}, {"dt"=>1487894400, "main"=>{"temp"=>273.624, "temp_min"=>273.624, "temp_max"=>273.624, "pressure"=>997.25, "sea_level"=>1018.12, "grnd_level"=>997.25, "humidity"=>93, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>56}, "wind"=>{"speed"=>4.31, "deg"=>228.006}, "rain"=>{"3h"=>0.01}, "snow"=>{}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-24 00:00:00"}, {"dt"=>1487905200, "main"=>{"temp"=>274.135, "temp_min"=>274.135, "temp_max"=>274.135, "pressure"=>995.97, "sea_level"=>1016.75, "grnd_level"=>995.97, "humidity"=>97, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>4.87, "deg"=>201.5}, "rain"=>{"3h"=>1.19}, "snow"=>{}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-24 03:00:00"}, {"dt"=>1487916000, "main"=>{"temp"=>275.031, "temp_min"=>275.031, "temp_max"=>275.031, "pressure"=>995.24, "sea_level"=>1015.91, "grnd_level"=>995.24, "humidity"=>93, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10d"}], "clouds"=>{"all"=>56}, "wind"=>{"speed"=>5.81, "deg"=>224}, "rain"=>{"3h"=>0.39}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-24 06:00:00"}, {"dt"=>1487926800, "main"=>{"temp"=>275.771, "temp_min"=>275.771, "temp_max"=>275.771, "pressure"=>994.97, "sea_level"=>1015.62, "grnd_level"=>994.97, "humidity"=>93, "temp_kf"=>0}, "weather"=>[{"id"=>802, "main"=>"Clouds", "description"=>"scattered clouds", "icon"=>"03d"}], "clouds"=>{"all"=>36}, "wind"=>{"speed"=>6.36, "deg"=>226}, "rain"=>{}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-24 09:00:00"}, {"dt"=>1487937600, "main"=>{"temp"=>275.805, "temp_min"=>275.805, "temp_max"=>275.805, "pressure"=>994.12, "sea_level"=>1014.55, "grnd_level"=>994.12, "humidity"=>92, "temp_kf"=>0}, "weather"=>[{"id"=>802, "main"=>"Clouds", "description"=>"scattered clouds", "icon"=>"03d"}], "clouds"=>{"all"=>44}, "wind"=>{"speed"=>6.22, "deg"=>220.007}, "rain"=>{}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-24 12:00:00"}, {"dt"=>1487948400, "main"=>{"temp"=>275.463, "temp_min"=>275.463, "temp_max"=>275.463, "pressure"=>994.04, "sea_level"=>1014.56, "grnd_level"=>994.04, "humidity"=>88, "temp_kf"=>0}, "weather"=>[{"id"=>803, "main"=>"Clouds", "description"=>"broken clouds", "icon"=>"04d"}], "clouds"=>{"all"=>56}, "wind"=>{"speed"=>6.38, "deg"=>227.001}, "rain"=>{}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-24 15:00:00"}, {"dt"=>1487959200, "main"=>{"temp"=>275.483, "temp_min"=>275.483, "temp_max"=>275.483, "pressure"=>995.65, "sea_level"=>1016.13, "grnd_level"=>995.65, "humidity"=>92, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>5.47, "deg"=>253.501}, "rain"=>{"3h"=>0.035}, "snow"=>{}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-24 18:00:00"}, {"dt"=>1487970000, "main"=>{"temp"=>274.841, "temp_min"=>274.841, "temp_max"=>274.841, "pressure"=>997.27, "sea_level"=>1017.96, "grnd_level"=>997.27, "humidity"=>92, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>68}, "wind"=>{"speed"=>5.72, "deg"=>253.501}, "rain"=>{"3h"=>0.195}, "snow"=>{}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-24 21:00:00"}, {"dt"=>1487980800, "main"=>{"temp"=>274.228, "temp_min"=>274.228, "temp_max"=>274.228, "pressure"=>998.72, "sea_level"=>1019.62, "grnd_level"=>998.72, "humidity"=>94, "temp_kf"=>0}, "weather"=>[{"id"=>803, "main"=>"Clouds", "description"=>"broken clouds", "icon"=>"04n"}], "clouds"=>{"all"=>80}, "wind"=>{"speed"=>6.26, "deg"=>260.002}, "rain"=>{}, "snow"=>{}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-25 00:00:00"}, {"dt"=>1487991600, "main"=>{"temp"=>273.656, "temp_min"=>273.656, "temp_max"=>273.656, "pressure"=>1000.06, "sea_level"=>1020.9, "grnd_level"=>1000.06, "humidity"=>93, "temp_kf"=>0}, "weather"=>[{"id"=>800, "main"=>"Clear", "description"=>"clear sky", "icon"=>"01n"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>5.06, "deg"=>259.502}, "rain"=>{}, "snow"=>{"3h"=>0.01}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-25 03:00:00"}, {"dt"=>1488002400, "main"=>{"temp"=>273.418, "temp_min"=>273.418, "temp_max"=>273.418, "pressure"=>1001.19, "sea_level"=>1022.11, "grnd_level"=>1001.19, "humidity"=>98, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13d"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>3.77, "deg"=>279.002}, "rain"=>{}, "snow"=>{"3h"=>0.33}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-25 06:00:00"}, {"dt"=>1488013200, "main"=>{"temp"=>273.147, "temp_min"=>273.147, "temp_max"=>273.147, "pressure"=>1002.52, "sea_level"=>1023.5, "grnd_level"=>1002.52, "humidity"=>97, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13d"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>4.36, "deg"=>317}, "rain"=>{}, "snow"=>{"3h"=>0.815}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-25 09:00:00"}, {"dt"=>1488024000, "main"=>{"temp"=>272.521, "temp_min"=>272.521, "temp_max"=>272.521, "pressure"=>1002.79, "sea_level"=>1023.87, "grnd_level"=>1002.79, "humidity"=>93, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13d"}], "clouds"=>{"all"=>88}, "wind"=>{"speed"=>5.02, "deg"=>329.5}, "rain"=>{}, "snow"=>{"3h"=>0.32}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-25 12:00:00"}, {"dt"=>1488034800, "main"=>{"temp"=>270.954, "temp_min"=>270.954, "temp_max"=>270.954, "pressure"=>1004.72, "sea_level"=>1025.96, "grnd_level"=>1004.72, "humidity"=>90, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13d"}], "clouds"=>{"all"=>48}, "wind"=>{"speed"=>4.12, "deg"=>315.006}, "rain"=>{}, "snow"=>{"3h"=>0.1}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-25 15:00:00"}, {"dt"=>1488045600, "main"=>{"temp"=>270.182, "temp_min"=>270.182, "temp_max"=>270.182, "pressure"=>1007.47, "sea_level"=>1028.86, "grnd_level"=>1007.47, "humidity"=>89, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13n"}], "clouds"=>{"all"=>48}, "wind"=>{"speed"=>3.97, "deg"=>306.002}, "rain"=>{}, "snow"=>{"3h"=>0.045}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-25 18:00:00"}, {"dt"=>1488056400, "main"=>{"temp"=>270.061, "temp_min"=>270.061, "temp_max"=>270.061, "pressure"=>1009.16, "sea_level"=>1030.63, "grnd_level"=>1009.16, "humidity"=>90, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13n"}], "clouds"=>{"all"=>80}, "wind"=>{"speed"=>3.68, "deg"=>286.002}, "rain"=>{}, "snow"=>{"3h"=>0.08}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-25 21:00:00"}, {"dt"=>1488067200, "main"=>{"temp"=>270.491, "temp_min"=>270.491, "temp_max"=>270.491, "pressure"=>1009.71, "sea_level"=>1031.31, "grnd_level"=>1009.71, "humidity"=>90, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13n"}], "clouds"=>{"all"=>80}, "wind"=>{"speed"=>3.97, "deg"=>256.503}, "rain"=>{}, "snow"=>{"3h"=>0.065}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-26 00:00:00"}, {"dt"=>1488078000, "main"=>{"temp"=>270.756, "temp_min"=>270.756, "temp_max"=>270.756, "pressure"=>1009.28, "sea_level"=>1030.93, "grnd_level"=>1009.28, "humidity"=>91, "temp_kf"=>0}, "weather"=>[{"id"=>800, "main"=>"Clear", "description"=>"clear sky", "icon"=>"01n"}], "clouds"=>{"all"=>36}, "wind"=>{"speed"=>4.61, "deg"=>227.501}, "rain"=>{}, "snow"=>{"3h"=>0.03}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-26 03:00:00"}, {"dt"=>1488088800, "main"=>{"temp"=>269.44, "temp_min"=>269.44, "temp_max"=>269.44, "pressure"=>1008.91, "sea_level"=>1030.47, "grnd_level"=>1008.91, "humidity"=>90, "temp_kf"=>0}, "weather"=>[{"id"=>800, "main"=>"Clear", "description"=>"clear sky", "icon"=>"02d"}], "clouds"=>{"all"=>8}, "wind"=>{"speed"=>5.82, "deg"=>214.005}, "rain"=>{}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-26 06:00:00"}, {"dt"=>1488099600, "main"=>{"temp"=>272.427, "temp_min"=>272.427, "temp_max"=>272.427, "pressure"=>1007.23, "sea_level"=>1028.33, "grnd_level"=>1007.23, "humidity"=>94, "temp_kf"=>0}, "weather"=>[{"id"=>801, "main"=>"Clouds", "description"=>"few clouds", "icon"=>"02d"}], "clouds"=>{"all"=>20}, "wind"=>{"speed"=>7.53, "deg"=>214.002}, "rain"=>{}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-26 09:00:00"}, {"dt"=>1488110400, "main"=>{"temp"=>273.773, "temp_min"=>273.773, "temp_max"=>273.773, "pressure"=>1003.62, "sea_level"=>1024.55, "grnd_level"=>1003.62, "humidity"=>93, "temp_kf"=>0}, "weather"=>[{"id"=>803, "main"=>"Clouds", "description"=>"broken clouds", "icon"=>"04d"}], "clouds"=>{"all"=>56}, "wind"=>{"speed"=>9.12, "deg"=>207}, "rain"=>{}, "snow"=>{}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-26 12:00:00"}, {"dt"=>1488121200, "main"=>{"temp"=>273.546, "temp_min"=>273.546, "temp_max"=>273.546, "pressure"=>1001.14, "sea_level"=>1022.09, "grnd_level"=>1001.14, "humidity"=>89, "temp_kf"=>0}, "weather"=>[{"id"=>600, "main"=>"Snow", "description"=>"light snow", "icon"=>"13d"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>9.61, "deg"=>215.002}, "rain"=>{}, "snow"=>{"3h"=>0.205}, "sys"=>{"pod"=>"d"}, "dt_txt"=>"2017-02-26 15:00:00"}, {"dt"=>1488132000, "main"=>{"temp"=>274.137, "temp_min"=>274.137, "temp_max"=>274.137, "pressure"=>999.57, "sea_level"=>1020.54, "grnd_level"=>999.57, "humidity"=>92, "temp_kf"=>0}, "weather"=>[{"id"=>500, "main"=>"Rain", "description"=>"light rain", "icon"=>"10n"}], "clouds"=>{"all"=>92}, "wind"=>{"speed"=>9.51, "deg"=>222.003}, "rain"=>{"3h"=>0.01}, "snow"=>{"3h"=>0.96}, "sys"=>{"pod"=>"n"}, "dt_txt"=>"2017-02-26 18:00:00"}]}

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK