weather app using api
{
"query": {
"count": 1,
"created": "2018-10-02T18:57:40Z",
"lang": "en-IN",
"results": {
"channel": {
"units": {},
"title": "Yahoo! Weather - Moradabad, UP, IN",
"link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2295013/",
"description": "Yahoo! Weather for Moradabad, UP, IN",
"language": "en-us",
"lastBuildDate": "Wed, 03 Oct 2018 12:27 AM IST",
"ttl": "60",
"location": {
"city": "Moradabad",
"country": "India",
"region": " UP"
},
"wind": {
"chill": "75",
"direction": "293",
"speed": "11"
},
"atmosphere": {
"humidity": "84",
"pressure": "986.0",
"rising": "0",
"visibility": "16.1"
},
"astronomy": {
"sunrise": "6:9 am",
"sunset": "5:58 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 Moradabad, UP, IN at 11:30 PM IST",
"lat": "28.83728",
"long": "78.771606",
"link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2295013/",
"pubDate": "Tue, 02 Oct 2018 11:30 PM IST",
"condition": {
"code": "31",
"date": "Tue, 02 Oct 2018 11:30 PM IST",
"temp": "76",
"text": "Clear"
},
"forecast": [
{
"code": "32",
"date": "03 Oct 2018",
"day": "Wed",
"high": "90",
"low": "70",
"text": "Sunny"
},
{
"code": "32",
"date": "04 Oct 2018",
"day": "Thu",
"high": "89",
"low": "70",
"text": "Sunny"
},
{
"code": "32",
"date": "05 Oct 2018",
"day": "Fri",
"high": "89",
"low": "67",
"text": "Sunny"
},
{
"code": "32",
"date": "06 Oct 2018",
"day": "Sat",
"high": "87",
"low": "66",
"text": "Sunny"
},
{
"code": "32",
"date": "07 Oct 2018",
"day": "Sun",
"high": "87",
"low": "67",
"text": "Sunny"
},
{
"code": "32",
"date": "08 Oct 2018",
"day": "Mon",
"high": "84",
"low": "63",
"text": "Sunny"
},
{
"code": "32",
"date": "09 Oct 2018",
"day": "Tue",
"high": "86",
"low": "65",
"text": "Sunny"
},
{
"code": "34",
"date": "10 Oct 2018",
"day": "Wed",
"high": "86",
"low": "69",
"text": "Mostly Sunny"
},
{
"code": "30",
"date": "11 Oct 2018",
"day": "Thu",
"high": "86",
"low": "70",
"text": "Partly Cloudy"
},
{
"code": "4",
"date": "12 Oct 2018",
"day": "Fri",
"high": "83",
"low": "68",
"text": "Thunderstorms"
}
],
"description": "\n
\nCurrent Conditions:\n
Clear\n
\n
\nForecast:\n
Wed - Sunny. High: 90Low: 70\n
Thu - Sunny. High: 89Low: 70\n
Fri - Sunny. High: 89Low: 67\n
Sat - Sunny. High: 87Low: 66\n
Sun - Sunny. High: 87Low: 67\n
\n
\nFull Forecast at Yahoo! Weather\n
\n
\n
\n]]>",
"guid": {
"isPermaLink": "false"
}
}
}
}
}
}