Код прогноза погоды в JSON формате

Автор: | 02.04.2016
{
 "query": {
  "count": 1,
  "created": "2016-04-02T10:13:17Z",
  "lang": "ru-RU",
  "results": {
   "channel": {
    "units": {
     "distance": "mi",
     "pressure": "in",
     "speed": "mph",
     "temperature": "F"
    },
    "title": "Yahoo! Weather - Qaraghandy, KZ",
    "link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-20070178/",
    "description": "Yahoo! Weather for Qaraghandy, KZ",
    "language": "en-us",
    "lastBuildDate": "Sat, 02 Apr 2016 04:13 PM ALMT",
    "ttl": "60",
    "location": {
     "city": "Qaraghandy",
     "country": "Kazakhstan",
     "region": " KZ"
    },
    "wind": {
     "chill": "51",
     "direction": "270",
     "speed": "21"
    },
    "atmosphere": {
     "humidity": "57",
     "pressure": "1017.5",
     "rising": "2",
     "visibility": "0.0"
    },
    "astronomy": {
     "sunrise": "6:57 am",
     "sunset": "7:53 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 Qaraghandy, KZ at 03:00 PM ALMT",
     "lat": "48.680752",
     "long": "70.439629",
     "link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-20070178/",
     "pubDate": "Sat, 02 Apr 2016 03:00 PM ALMT",
     "condition": {
      "code": "28",
      "date": "Sat, 02 Apr 2016 03:00 PM ALMT",
      "temp": "51",
      "text": "Mostly Cloudy"
     },
     "forecast": [
      {
       "code": "12",
       "date": "02 Apr 2016",
       "day": "Sat",
       "high": "51",
       "low": "39",
       "text": "Rain"
      },
      {
       "code": "30",
       "date": "03 Apr 2016",
       "day": "Sun",
       "high": "58",
       "low": "39",
       "text": "Partly Cloudy"
      },
      {
       "code": "28",
       "date": "04 Apr 2016",
       "day": "Mon",
       "high": "57",
       "low": "40",
       "text": "Mostly Cloudy"
      },
      {
       "code": "28",
       "date": "05 Apr 2016",
       "day": "Tue",
       "high": "61",
       "low": "35",
       "text": "Mostly Cloudy"
      },
      {
       "code": "30",
       "date": "06 Apr 2016",
       "day": "Wed",
       "high": "56",
       "low": "35",
       "text": "Partly Cloudy"
      },
      {
       "code": "24",
       "date": "07 Apr 2016",
       "day": "Thu",
       "high": "55",
       "low": "32",
       "text": "Windy"
      },
      {
       "code": "24",
       "date": "08 Apr 2016",
       "day": "Fri",
       "high": "55",
       "low": "35",
       "text": "Windy"
      },
      {
       "code": "39",
       "date": "09 Apr 2016",
       "day": "Sat",
       "high": "54",
       "low": "35",
       "text": "Scattered Showers"
      },
      {
       "code": "30",
       "date": "10 Apr 2016",
       "day": "Sun",
       "high": "57",
       "low": "37",
       "text": "Partly Cloudy"
      },
      {
       "code": "30",
       "date": "11 Apr 2016",
       "day": "Mon",
       "high": "59",
       "low": "38",
       "text": "Partly Cloudy"
      }
     ],
     "description": "<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/28.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Mostly Cloudy\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Sat - Rain. High: 51Low: 39\n<BR /> Sun - Partly Cloudy. High: 58Low: 39\n<BR /> Mon - Mostly Cloudy. High: 57Low: 40\n<BR /> Tue - Mostly Cloudy. High: 61Low: 35\n<BR /> Wed - Partly Cloudy. High: 56Low: 35\n<BR />\n<BR />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-20070178/\">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"
     }
    }
   }
  }
 }
}