Skip to content

Instantly share code, notes, and snippets.

@zaghaghi
Created July 14, 2018 16:42
Show Gist options
  • Save zaghaghi/164cd01f85faa84ac20b6581d7afac32 to your computer and use it in GitHub Desktop.
Save zaghaghi/164cd01f85faa84ac20b6581d7afac32 to your computer and use it in GitHub Desktop.
{"result": "OK", "response": {"message": {"attachment": {"type": "weather", "payload": {"1531472400": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-13 09:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 27.08, "grnd_level": 745.22, "temp_max": 27.08, "sea_level": 1017.72, "humidity": 15, "pressure": 745.22, "temp_min": 27.08}, "wind": {"speed": 0.31, "deg": 169.001}}, "1531504800": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-13 18:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 13.82, "grnd_level": 745.47, "temp_max": 13.82, "sea_level": 1018.53, "humidity": 42, "pressure": 745.47, "temp_min": 13.82}, "wind": {"speed": 0.71, "deg": 74.5016}}, "1531278000": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-11 03:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 2.72, "temp": 17.87, "grnd_level": 749.41, "temp_max": 17.87, "sea_level": 1025.03, "humidity": 42, "pressure": 749.41, "temp_min": 15.15}, "wind": {"speed": 0.73, "deg": 224.501}}, "1531537200": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-14 03:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 11.54, "grnd_level": 744.7, "temp_max": 11.54, "sea_level": 1018.42, "humidity": 40, "pressure": 744.7, "temp_min": 11.54}, "wind": {"speed": 0.17, "deg": 303.003}}, "1531602000": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-14 21:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 8.94, "grnd_level": 743.95, "temp_max": 8.94, "sea_level": 1016.06, "humidity": 52, "pressure": 743.95, "temp_min": 8.94}, "wind": {"speed": 0.16, "deg": 244.001}}, "1531299600": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-11 09:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 27.57, "grnd_level": 748.7, "temp_max": 27.57, "sea_level": 1022.65, "humidity": 16, "pressure": 748.7, "temp_min": 27.57}, "wind": {"speed": 0.25, "deg": 113.511}}, "1531353600": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-12 00:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 8.29, "grnd_level": 747.87, "temp_max": 8.29, "sea_level": 1022.06, "humidity": 44, "pressure": 747.87, "temp_min": 8.29}, "wind": {"speed": 0.71, "deg": 216.5}}, "1531645200": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-15 09:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 27.1, "grnd_level": 743.7, "temp_max": 27.1, "sea_level": 1014.97, "humidity": 13, "pressure": 743.7, "temp_min": 27.1}, "wind": {"speed": 0.92, "deg": 195.016}}, "1531634400": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-15 06:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 25.12, "grnd_level": 744.26, "temp_max": 25.12, "sea_level": 1016.29, "humidity": 14, "pressure": 744.26, "temp_min": 25.12}, "wind": {"speed": 1.06, "deg": 183.002}}, "1531245600": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-10 18:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 10.88, "temp": 27.33, "grnd_level": 750.06, "temp_max": 27.33, "sea_level": 1024.24, "humidity": 43, "pressure": 750.06, "temp_min": 16.46}, "wind": {"speed": 0.88, "deg": 30.0054}}, "1531656000": {"clouds": {"all": 20}, "sys": {"pod": "d"}, "dt_txt": "2018-07-15 12:00:00", "weather": [{"main": "Clouds", "id": 801, "icon": "02d", "description": "\u06a9\u0645\u06cc \u0627\u0628\u0631\u06cc"}], "main": {"temp_kf": 0, "temp": 26.97, "grnd_level": 742.97, "temp_max": 26.97, "sea_level": 1013.73, "humidity": 13, "pressure": 742.97, "temp_min": 26.97}, "wind": {"speed": 0.71, "deg": 208.001}}, "1531321200": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-11 15:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 24.37, "grnd_level": 748.33, "temp_max": 24.37, "sea_level": 1021.16, "humidity": 17, "pressure": 748.33, "temp_min": 24.37}, "wind": {"speed": 0.31, "deg": 16.0062}}, "1531623600": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-15 03:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 11.2, "grnd_level": 743.93, "temp_max": 11.2, "sea_level": 1016.8, "humidity": 41, "pressure": 743.93, "temp_min": 11.2}, "wind": {"speed": 0.16, "deg": 14.5005}}, "1531429200": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-12 21:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 8.62, "grnd_level": 746.41, "temp_max": 8.62, "sea_level": 1019.65, "humidity": 42, "pressure": 746.41, "temp_min": 8.62}, "wind": {"speed": 0.46, "deg": 179.502}}, "1531396800": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-12 12:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 27.05, "grnd_level": 746.62, "temp_max": 27.05, "sea_level": 1018.88, "humidity": 11, "pressure": 746.62, "temp_min": 27.05}, "wind": {"speed": 0.41, "deg": 58.0002}}, "1531548000": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-14 06:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 24.25, "grnd_level": 744.86, "temp_max": 24.25, "sea_level": 1017.56, "humidity": 15, "pressure": 744.86, "temp_min": 24.25}, "wind": {"speed": 0.91, "deg": 193.501}}, "1531450800": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-13 03:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 12.3, "grnd_level": 746.26, "temp_max": 12.3, "sea_level": 1020.11, "humidity": 42, "pressure": 746.26, "temp_min": 12.3}, "wind": {"speed": 0.41, "deg": 257.002}}, "1531558800": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-14 09:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 26.43, "grnd_level": 744.18, "temp_max": 26.43, "sea_level": 1016.14, "humidity": 15, "pressure": 744.18, "temp_min": 26.43}, "wind": {"speed": 0.73, "deg": 214.501}}, "1531494000": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-13 15:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 23.66, "grnd_level": 744.64, "temp_max": 23.66, "sea_level": 1016.86, "humidity": 20, "pressure": 744.64, "temp_min": 23.66}, "wind": {"speed": 0.26, "deg": 186.5}}, "1531440000": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-13 00:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 8.3, "grnd_level": 746.01, "temp_max": 8.3, "sea_level": 1019.65, "humidity": 49, "pressure": 746.01, "temp_min": 8.3}, "wind": {"speed": 1.06, "deg": 221.508}}, "1531612800": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-15 00:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 6.71, "grnd_level": 743.6, "temp_max": 6.71, "sea_level": 1016.14, "humidity": 58, "pressure": 743.6, "temp_min": 6.71}, "wind": {"speed": 0.25, "deg": 27.0018}}, "1531364400": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-12 03:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 11.95, "grnd_level": 748.08, "temp_max": 11.95, "sea_level": 1022.52, "humidity": 38, "pressure": 748.08, "temp_min": 11.95}, "wind": {"speed": 0.61, "deg": 242.503}}, "1531288800": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-11 06:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 25.78, "grnd_level": 749.57, "temp_max": 25.78, "sea_level": 1024.58, "humidity": 23, "pressure": 749.57, "temp_min": 25.78}, "wind": {"speed": 0.52, "deg": 234.007}}, "1531569600": {"clouds": {"all": 44}, "sys": {"pod": "d"}, "dt_txt": "2018-07-14 12:00:00", "weather": [{"main": "Clouds", "id": 802, "icon": "03d", "description": "\u0627\u0628\u0631\u0647\u0627\u06cc \u067e\u0631\u0627\u06a9\u0646\u062f\u0647"}], "main": {"temp_kf": 0, "temp": 26.05, "grnd_level": 743.46, "temp_max": 26.05, "sea_level": 1014.9, "humidity": 15, "pressure": 743.46, "temp_min": 26.05}, "wind": {"speed": 0.67, "deg": 210.501}}, "1531236600": {"clouds": {"all": 40}, "name": "Tehran", "visibility": 10000, "sys": {"country": "IR", "sunset": 1531237941, "message": 0.0021, "type": 1, "id": 7032, "sunrise": 1531186024}, "weather": [{"main": "Clouds", "id": 802, "icon": "03d", "description": "\u0627\u0628\u0631\u0647\u0627\u06cc \u067e\u0631\u0627\u06a9\u0646\u062f\u0647"}], "coord": {"lat": 35.7, "lon": 51.4}, "base": "stations", "main": {"pressure": 1012, "temp_min": 38, "temp_max": 38, "temp": 38, "humidity": 9}, "id": 112931, "wind": {"speed": 3.1, "deg": 160}, "cod": 200}, "1531375200": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-12 06:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 24.26, "grnd_level": 748.12, "temp_max": 24.26, "sea_level": 1022, "humidity": 18, "pressure": 748.12, "temp_min": 24.26}, "wind": {"speed": 0.61, "deg": 265.501}}, "1531267200": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-11 00:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 5.44, "temp": 16.73, "grnd_level": 749.26, "temp_max": 16.73, "sea_level": 1024.25, "humidity": 46, "pressure": 749.26, "temp_min": 11.3}, "wind": {"speed": 0.32, "deg": 122.501}}, "1531256400": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-10 21:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 8.16, "temp": 21.51, "grnd_level": 749.6, "temp_max": 21.51, "sea_level": 1024.26, "humidity": 44, "pressure": 749.6, "temp_min": 13.35}, "wind": {"speed": 0.98, "deg": 57.5001}}, "1531591200": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-14 18:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 13.75, "grnd_level": 744.34, "temp_max": 13.75, "sea_level": 1016.52, "humidity": 38, "pressure": 744.34, "temp_min": 13.75}, "wind": {"speed": 0.42, "deg": 145.502}}, "1531332000": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-11 18:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 14.3, "grnd_level": 749.16, "temp_max": 14.3, "sea_level": 1022.41, "humidity": 33, "pressure": 749.16, "temp_min": 14.3}, "wind": {"speed": 0.95, "deg": 29.5028}}, "1531515600": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-13 21:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 9.1, "grnd_level": 745.06, "temp_max": 9.1, "sea_level": 1018.36, "humidity": 56, "pressure": 745.06, "temp_min": 9.1}, "wind": {"speed": 0.22, "deg": 212.502}}, "1531526400": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-14 00:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 6.98, "grnd_level": 744.67, "temp_max": 6.98, "sea_level": 1018.35, "humidity": 59, "pressure": 744.67, "temp_min": 6.98}, "wind": {"speed": 0.21, "deg": 248.502}}, "1531386000": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-12 09:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 26.94, "grnd_level": 747.31, "temp_max": 26.94, "sea_level": 1020.36, "humidity": 11, "pressure": 747.31, "temp_min": 26.94}, "wind": {"speed": 0.37, "deg": 54.5006}}, "1531666800": {"clouds": {"all": 20}, "sys": {"pod": "d"}, "dt_txt": "2018-07-15 15:00:00", "weather": [{"main": "Clouds", "id": 801, "icon": "02d", "description": "\u06a9\u0645\u06cc \u0627\u0628\u0631\u06cc"}], "main": {"temp_kf": 0, "temp": 24.06, "grnd_level": 743.09, "temp_max": 24.06, "sea_level": 1014.08, "humidity": 15, "pressure": 743.09, "temp_min": 24.06}, "wind": {"speed": 0.46, "deg": 181.502}}, "1531580400": {"clouds": {"all": 56}, "sys": {"pod": "d"}, "dt_txt": "2018-07-14 15:00:00", "weather": [{"main": "Clouds", "id": 803, "icon": "04d", "description": "\u0627\u0628\u0631\u0647\u0627\u06cc \u067e\u0627\u0631\u0686\u0647 \u067e\u0627\u0631\u0686\u0647 \u0634\u062f\u0647"}], "main": {"temp_kf": 0, "temp": 23.23, "grnd_level": 743.8, "temp_max": 23.23, "sea_level": 1015.19, "humidity": 19, "pressure": 743.8, "temp_min": 23.23}, "wind": {"speed": 0.42, "deg": 194.005}}, "1531310400": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-11 12:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 27.48, "grnd_level": 748.26, "temp_max": 27.48, "sea_level": 1021.2, "humidity": 14, "pressure": 748.26, "temp_min": 27.48}, "wind": {"speed": 0.32, "deg": 34.0009}}, "1531342800": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-11 21:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 11.44, "grnd_level": 748.52, "temp_max": 11.44, "sea_level": 1022.06, "humidity": 39, "pressure": 748.52, "temp_min": 11.44}, "wind": {"speed": 0.87, "deg": 40.0034}}, "1531407600": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-12 15:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 24.05, "grnd_level": 746.52, "temp_max": 24.05, "sea_level": 1018.74, "humidity": 14, "pressure": 746.52, "temp_min": 24.05}, "wind": {"speed": 0.28, "deg": 61.5021}}, "1531461600": {"clouds": {"all": 0}, "sys": {"pod": "d"}, "dt_txt": "2018-07-13 06:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01d", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 24, "grnd_level": 746.19, "temp_max": 24, "sea_level": 1019.39, "humidity": 18, "pressure": 746.19, "temp_min": 24}, "wind": {"speed": 0.62, "deg": 239.505}}, "1531483200": {"clouds": {"all": 20}, "sys": {"pod": "d"}, "dt_txt": "2018-07-13 12:00:00", "weather": [{"main": "Clouds", "id": 801, "icon": "02d", "description": "\u06a9\u0645\u06cc \u0627\u0628\u0631\u06cc"}], "main": {"temp_kf": 0, "temp": 26.87, "grnd_level": 744.57, "temp_max": 26.87, "sea_level": 1016.55, "humidity": 16, "pressure": 744.57, "temp_min": 26.87}, "wind": {"speed": 0.31, "deg": 190}}, "1531418400": {"clouds": {"all": 0}, "sys": {"pod": "n"}, "dt_txt": "2018-07-12 18:00:00", "weather": [{"main": "Clear", "id": 800, "icon": "01n", "description": "\u0622\u0633\u0645\u0627\u0646 \u0635\u0627\u0641"}], "main": {"temp_kf": 0, "temp": 12.65, "grnd_level": 747.03, "temp_max": 12.65, "sea_level": 1019.91, "humidity": 34, "pressure": 747.03, "temp_min": 12.65}, "wind": {"speed": 0.6, "deg": 25.502}}}}}, "type": "weather"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment