Files
front-end-coding-challenge/src/forecast.json
2016-08-17 19:39:12 -04:00

138 lines
4.5 KiB
JSON

{
"query": {
"count": 1,
"created": "2016-07-13T02:37:36Z",
"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, 12 Jul 2016 10:37 PM EDT",
"ttl": "60",
"location": {
"city": "New York",
"country": "United States",
"region": " NY"
},
"wind": {
"chill": "75",
"direction": "180",
"speed": "22"
},
"atmosphere": {
"humidity": "73",
"pressure": "1016.0",
"rising": "0",
"visibility": "16.1"
},
"astronomy": {
"sunrise": "5:36 am",
"sunset": "8:27 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 09:00 PM EDT",
"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, 12 Jul 2016 09:00 PM EDT",
"condition": {
"code": "29",
"date": "Tue, 12 Jul 2016 09:00 PM EDT",
"temp": "75",
"text": "Partly Cloudy"
},
"forecast": [{
"code": "30",
"date": "12 Jul 2016",
"day": "Tue",
"high": "81",
"low": "69",
"text": "Partly Cloudy"
}, {
"code": "47",
"date": "13 Jul 2016",
"day": "Wed",
"high": "83",
"low": "71",
"text": "Scattered Thunderstorms"
}, {
"code": "4",
"date": "14 Jul 2016",
"day": "Thu",
"high": "85",
"low": "74",
"text": "Thunderstorms"
}, {
"code": "4",
"date": "15 Jul 2016",
"day": "Fri",
"high": "92",
"low": "77",
"text": "Thunderstorms"
}, {
"code": "30",
"date": "16 Jul 2016",
"day": "Sat",
"high": "85",
"low": "75",
"text": "Partly Cloudy"
}, {
"code": "30",
"date": "17 Jul 2016",
"day": "Sun",
"high": "87",
"low": "75",
"text": "Partly Cloudy"
}, {
"code": "4",
"date": "18 Jul 2016",
"day": "Mon",
"high": "85",
"low": "74",
"text": "Thunderstorms"
}, {
"code": "4",
"date": "19 Jul 2016",
"day": "Tue",
"high": "85",
"low": "74",
"text": "Thunderstorms"
}, {
"code": "4",
"date": "20 Jul 2016",
"day": "Wed",
"high": "84",
"low": "73",
"text": "Thunderstorms"
}, {
"code": "30",
"date": "21 Jul 2016",
"day": "Thu",
"high": "84",
"low": "73",
"text": "Partly Cloudy"
}],
"description": "<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/29.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Partly Cloudy\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Tue - Partly Cloudy. High: 81Low: 69\n<BR /> Wed - Scattered Thunderstorms. High: 83Low: 71\n<BR /> Thu - Thunderstorms. High: 85Low: 74\n<BR /> Fri - Thunderstorms. High: 92Low: 77\n<BR /> Sat - Partly Cloudy. High: 85Low: 75\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"
}
}
}
}
}
}