Skip to content

Instantly share code, notes, and snippets.

@Andygmb
Created May 31, 2015 18:49
Show Gist options
  • Save Andygmb/b0e2341cf8bef00c20e5 to your computer and use it in GitHub Desktop.
Save Andygmb/b0e2341cf8bef00c20e5 to your computer and use it in GitHub Desktop.
{
"query":{
"count":1,
"created":"2015-05-31T18:48:50Z",
"lang":"en-GB",
"results":{
"channel":{
"title":"Yahoo! Weather - London, GB",
"link":"http://us.rd.yahoo.com/dailynews/rss/weather/London__GB/*http://weather.yahoo.com/forecast/UKXX0085_c.html",
"description":"Yahoo! Weather for London, GB",
"language":"en-us",
"lastBuildDate":"Sun, 31 May 2015 7:19 pm BST",
"ttl":"60",
"location":{
"city":"London",
"country":"United Kingdom",
"region":""
},
"units":{
"distance":"km",
"pressure":"mb",
"speed":"km/h",
"temperature":"C"
},
"wind":{
"chill":"15",
"direction":"290",
"speed":"32.19"
},
"atmosphere":{
"humidity":"48",
"pressure":"982.05",
"rising":"1",
"visibility":"9.99"
},
"astronomy":{
"sunrise":"4:49 am",
"sunset":"9:04 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 London, GB at 7:19 pm BST",
"lat":"51.51",
"long":"-0.13",
"link":"http://us.rd.yahoo.com/dailynews/rss/weather/London__GB/*http://weather.yahoo.com/forecast/UKXX0085_c.html",
"pubDate":"Sun, 31 May 2015 7:19 pm BST",
"condition":{
"code":"30",
"date":"Sun, 31 May 2015 7:19 pm BST",
"temp":"15",
"text":"Partly Cloudy"
},
"description":"\n<img src=\"http://l.yimg.com/a/i/us/we/52/30.gif\"/><br />\n<b>Current Conditions:</b><br />\nPartly Cloudy, 15 C<BR />\n<BR /><b>Forecast:</b><BR />\nSun - Mostly Clear. High: 15 Low: 8<br />\nMon - Mostly Cloudy. High: 16 Low: 12<br />\nTue - AM Showers/Wind. High: 18 Low: 12<br />\nWed - Cloudy. High: 19 Low: 9<br />\nThu - Mostly Sunny. High: 23 Low: 13<br />\n<br />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/London__GB/*http://weather.yahoo.com/forecast/UKXX0085_c.html\">Full Forecast at Yahoo! Weather</a><BR/><BR/>\n(provided by <a href=\"http://www.weather.com\" >The Weather Channel</a>)<br/>\n",
"forecast":[
{
"code":"33",
"date":"31 May 2015",
"day":"Sun",
"high":"15",
"low":"8",
"text":"Mostly Clear"
},
{
"code":"28",
"date":"1 Jun 2015",
"day":"Mon",
"high":"16",
"low":"12",
"text":"Mostly Cloudy"
},
{
"code":"39",
"date":"2 Jun 2015",
"day":"Tue",
"high":"18",
"low":"12",
"text":"AM Showers/Wind"
},
{
"code":"26",
"date":"3 Jun 2015",
"day":"Wed",
"high":"19",
"low":"9",
"text":"Cloudy"
},
{
"code":"34",
"date":"4 Jun 2015",
"day":"Thu",
"high":"23",
"low":"13",
"text":"Mostly Sunny"
}
],
"guid":{
"isPermaLink":"false",
"content":"UKXX0085_2015_06_04_7_00_BST"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment