Skip to content

Instantly share code, notes, and snippets.

@gaarf
Created March 14, 2014 22:58
Show Gist options
  • Save gaarf/9558796 to your computer and use it in GitHub Desktop.
Save gaarf/9558796 to your computer and use it in GitHub Desktop.
Array
(
[diagnostics] => Array
(
[publiclyCallable] => true
[url] => Array
(
[0] => Array
(
[@content] => http://weather.yahooapis.com/forecastrss?w=2502265
[@attributes] => Array
(
[execution-start-time] => 1
[execution-stop-time] => 67
[execution-time] => 66
)
)
[1] => Array
(
[@content] => http://weather.yahooapis.com/forecastrss?w=2502265
[@attributes] => Array
(
[execution-start-time] => 1
[execution-stop-time] => 76
[execution-time] => 75
)
)
)
[user-time] => 77
[service-time] => 141
[build-version] => 0.2.2305
)
[results] => Array
(
[channel] => Array
(
[0] => Array
(
[title] => Yahoo! Weather - Sunnyvale, CA
[link] => http://us.rd.yahoo.com/dailynews/rss/weather/Sunnyvale__CA/*http://weather.yahoo.com/forecast/USCA1116_f.html
[description] => Yahoo! Weather for Sunnyvale, CA
[language] => en-us
[lastBuildDate] => Fri, 14 Mar 2014 2:54 pm PDT
[ttl] => 60
[yweather:location] => Array
(
[@attributes] => Array
(
[city] => Sunnyvale
[country] => United States
[region] => CA
)
)
[yweather:units] => Array
(
[@attributes] => Array
(
[distance] => mi
[pressure] => in
[speed] => mph
[temperature] => F
)
)
[yweather:wind] => Array
(
[@attributes] => Array
(
[chill] => 67
[direction] => 350
[speed] => 8
)
)
[yweather:atmosphere] => Array
(
[@attributes] => Array
(
[humidity] => 45
[pressure] => 30.17
[rising] => 2
[visibility] => 10
)
)
[yweather:astronomy] => Array
(
[@attributes] => Array
(
[sunrise] => 7:20 am
[sunset] => 7:13 pm
)
)
[image] => Array
(
[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] => Array
(
[title] => Conditions for Sunnyvale, CA at 2:54 pm PDT
[geo:lat] => 37.37
[geo:long] => -122.04
[link] => http://us.rd.yahoo.com/dailynews/rss/weather/Sunnyvale__CA/*http://weather.yahoo.com/forecast/USCA1116_f.html
[pubDate] => Fri, 14 Mar 2014 2:54 pm PDT
[yweather:condition] => Array
(
[@attributes] => Array
(
[code] => 34
[date] => Fri, 14 Mar 2014 2:54 pm PDT
[temp] => 67
[text] => Fair
)
)
[description] => <img src="http://l.yimg.com/a/i/us/we/52/34.gif"/><br />
<b>Current Conditions:</b><br />
Fair, 67 F<BR />
<BR /><b>Forecast:</b><BR />
Fri - Clear. High: 68 Low: 51<br />
Sat - Sunny. High: 79 Low: 54<br />
Sun - Sunny. High: 80 Low: 51<br />
Mon - Sunny. High: 69 Low: 48<br />
Tue - Mostly Sunny. High: 72 Low: 49<br />
<br />
<a href="http://us.rd.yahoo.com/dailynews/rss/weather/Sunnyvale__CA/*http://weather.yahoo.com/forecast/USCA1116_f.html">Full Forecast at Yahoo! Weather</a><BR/><BR/>
(provided by <a href="http://www.weather.com" >The Weather Channel</a>)<br/>
[yweather:forecast] => Array
(
[0] => Array
(
[@attributes] => Array
(
[code] => 31
[date] => 14 Mar 2014
[day] => Fri
[high] => 68
[low] => 51
[text] => Clear
)
)
[1] => Array
(
[@attributes] => Array
(
[code] => 32
[date] => 15 Mar 2014
[day] => Sat
[high] => 79
[low] => 54
[text] => Sunny
)
)
[2] => Array
(
[@attributes] => Array
(
[code] => 32
[date] => 16 Mar 2014
[day] => Sun
[high] => 80
[low] => 51
[text] => Sunny
)
)
[3] => Array
(
[@attributes] => Array
(
[code] => 32
[date] => 17 Mar 2014
[day] => Mon
[high] => 69
[low] => 48
[text] => Sunny
)
)
[4] => Array
(
[@attributes] => Array
(
[code] => 34
[date] => 18 Mar 2014
[day] => Tue
[high] => 72
[low] => 49
[text] => Mostly Sunny
)
)
)
[guid] => Array
(
[@content] => USCA1116_2014_03_18_7_00_PDT
[@attributes] => Array
(
[isPermaLink] => false
)
)
)
)
[1] => Array
(
[title] => Yahoo! Weather - Sunnyvale, CA
[link] => http://us.rd.yahoo.com/dailynews/rss/weather/Sunnyvale__CA/*http://weather.yahoo.com/forecast/USCA1116_f.html
[description] => Yahoo! Weather for Sunnyvale, CA
[language] => en-us
[lastBuildDate] => Fri, 14 Mar 2014 2:54 pm PDT
[ttl] => 60
[yweather:location] => Array
(
[@attributes] => Array
(
[city] => Sunnyvale
[country] => United States
[region] => CA
)
)
[yweather:units] => Array
(
[@attributes] => Array
(
[distance] => mi
[pressure] => in
[speed] => mph
[temperature] => F
)
)
[yweather:wind] => Array
(
[@attributes] => Array
(
[chill] => 67
[direction] => 350
[speed] => 8
)
)
[yweather:atmosphere] => Array
(
[@attributes] => Array
(
[humidity] => 45
[pressure] => 30.17
[rising] => 2
[visibility] => 10
)
)
[yweather:astronomy] => Array
(
[@attributes] => Array
(
[sunrise] => 7:20 am
[sunset] => 7:13 pm
)
)
[image] => Array
(
[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] => Array
(
[title] => Conditions for Sunnyvale, CA at 2:54 pm PDT
[geo:lat] => 37.37
[geo:long] => -122.04
[link] => http://us.rd.yahoo.com/dailynews/rss/weather/Sunnyvale__CA/*http://weather.yahoo.com/forecast/USCA1116_f.html
[pubDate] => Fri, 14 Mar 2014 2:54 pm PDT
[yweather:condition] => Array
(
[@attributes] => Array
(
[code] => 34
[date] => Fri, 14 Mar 2014 2:54 pm PDT
[temp] => 67
[text] => Fair
)
)
[description] => <img src="http://l.yimg.com/a/i/us/we/52/34.gif"/><br />
<b>Current Conditions:</b><br />
Fair, 67 F<BR />
<BR /><b>Forecast:</b><BR />
Fri - Clear. High: 68 Low: 51<br />
Sat - Sunny. High: 79 Low: 54<br />
Sun - Sunny. High: 80 Low: 51<br />
Mon - Sunny. High: 69 Low: 48<br />
Tue - Mostly Sunny. High: 72 Low: 49<br />
<br />
<a href="http://us.rd.yahoo.com/dailynews/rss/weather/Sunnyvale__CA/*http://weather.yahoo.com/forecast/USCA1116_f.html">Full Forecast at Yahoo! Weather</a><BR/><BR/>
(provided by <a href="http://www.weather.com" >The Weather Channel</a>)<br/>
[yweather:forecast] => Array
(
[0] => Array
(
[@attributes] => Array
(
[code] => 31
[date] => 14 Mar 2014
[day] => Fri
[high] => 68
[low] => 51
[text] => Clear
)
)
[1] => Array
(
[@attributes] => Array
(
[code] => 32
[date] => 15 Mar 2014
[day] => Sat
[high] => 79
[low] => 54
[text] => Sunny
)
)
[2] => Array
(
[@attributes] => Array
(
[code] => 32
[date] => 16 Mar 2014
[day] => Sun
[high] => 80
[low] => 51
[text] => Sunny
)
)
[3] => Array
(
[@attributes] => Array
(
[code] => 32
[date] => 17 Mar 2014
[day] => Mon
[high] => 69
[low] => 48
[text] => Sunny
)
)
[4] => Array
(
[@attributes] => Array
(
[code] => 34
[date] => 18 Mar 2014
[day] => Tue
[high] => 72
[low] => 49
[text] => Mostly Sunny
)
)
)
[guid] => Array
(
[@content] => USCA1116_2014_03_18_7_00_PDT
[@attributes] => Array
(
[isPermaLink] => false
)
)
)
)
)
)
[@attributes] => Array
(
[count] => 2
[created] => 2014-03-14T22:52:57Z
[lang] => en-US
)
[@root] => query
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment