forked from suitable-ai/take-home-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
weather.json
149 lines (149 loc) · 3.85 KB
/
weather.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"query": {
"count": 1,
"created": "2016-11-22T19:38:25Z",
"lang": "en-US",
"results": {
"channel": {
"units": {
"distance": "mi",
"pressure": "in",
"speed": "mph",
"temperature": "F"
},
"title": "Yahoo! Weather - New York, NY, US",
"link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2459115/",
"description": "Yahoo! Weather for New York, NY, US",
"language": "en-us",
"lastBuildDate": "Tue, 22 Nov 2016 02:38 PM EST",
"ttl": "60",
"location": {
"city": "New York",
"country": "United States",
"region": " NY"
},
"wind": {
"chill": "32",
"direction": "310",
"speed": "29"
},
"atmosphere": {
"humidity": "40",
"pressure": "1017.0",
"rising": "0",
"visibility": "16.1"
},
"astronomy": {
"sunrise": "6:52 am",
"sunset": "4:33 pm"
},
"image": {
"title": "Yahoo! Weather",
"width": "142",
"height": "18",
"link": "http://weather.yahoo.com",
"url": "http://l.yimg.com/a/i/brand/purplelogo//uh/us/news-wea.gif"
},
"item": {
"title": "Conditions for New York, NY, US at 02:00 PM EST",
"lat": "40.71455",
"long": "-74.007118",
"link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2459115/",
"pubDate": "Tue, 22 Nov 2016 02:00 PM EST",
"condition": {
"code": "23",
"date": "Tue, 22 Nov 2016 02:00 PM EST",
"temp": "42",
"text": "Breezy"
},
"forecast": [
{
"code": "23",
"date": "22 Nov 2016",
"day": "Tue",
"high": "44",
"low": "35",
"text": "Breezy"
},
{
"code": "30",
"date": "23 Nov 2016",
"day": "Wed",
"high": "47",
"low": "34",
"text": "Partly Cloudy"
},
{
"code": "26",
"date": "24 Nov 2016",
"day": "Thu",
"high": "51",
"low": "38",
"text": "Cloudy"
},
{
"code": "26",
"date": "25 Nov 2016",
"day": "Fri",
"high": "51",
"low": "45",
"text": "Cloudy"
},
{
"code": "30",
"date": "26 Nov 2016",
"day": "Sat",
"high": "51",
"low": "44",
"text": "Partly Cloudy"
},
{
"code": "30",
"date": "27 Nov 2016",
"day": "Sun",
"high": "49",
"low": "38",
"text": "Partly Cloudy"
},
{
"code": "12",
"date": "28 Nov 2016",
"day": "Mon",
"high": "50",
"low": "38",
"text": "Rain"
},
{
"code": "12",
"date": "29 Nov 2016",
"day": "Tue",
"high": "54",
"low": "42",
"text": "Rain"
},
{
"code": "28",
"date": "30 Nov 2016",
"day": "Wed",
"high": "54",
"low": "43",
"text": "Mostly Cloudy"
},
{
"code": "39",
"date": "01 Dec 2016",
"day": "Thu",
"high": "51",
"low": "42",
"text": "Scattered Showers"
}
],
"description": "<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/23.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Breezy\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Tue - Breezy. High: 44Low: 35\n<BR /> Wed - Partly Cloudy. High: 47Low: 34\n<BR /> Thu - Cloudy. High: 51Low: 38\n<BR /> Fri - Cloudy. High: 51Low: 45\n<BR /> Sat - Partly Cloudy. High: 51Low: 44\n<BR />\n<BR />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2459115/\">Full Forecast at Yahoo! Weather</a>\n<BR />\n<BR />\n(provided by <a href=\"http://www.weather.com\" >The Weather Channel</a>)\n<BR />\n]]>",
"guid": {
"isPermaLink": "false"
}
}
}
}
}
}