Services_Weather: don't understand weatherdotcom array

From: Date: Mon, 13 Oct 2003 11:44:40 +0000
Subject: Services_Weather: don't understand weatherdotcom array
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8397@lists.php.net to get a copy of this message
Hi, I don't quite know how to interpret the Forecast array returned in the weatherdotcom example. There is tempertureHigh (should be temper*a*tureHigh I think) which contains subelements like "icon", 't" "wind" etc and they all contain the same data which seems to be the temperature Low in Fahrenheit, while the option in the example is set to "Metric". Then there is another, similar array, which seems to contain Temperature High, also in Fahrenheit. Can someone shed some light on this? Thanks, jeroen
      |   + tempertureHigh Array(2)       |   |                        |   |                + 0 Array(5)
      |   |                |           |   |                |   + Class name    String[8]   (stdClass)
      |   |                |   | Parent class  Boolean     (FALSE)
      |   |                |   | Class vars    Empty array ()
      |   |                |   | Class methods Empty array ()
      |   |                |   + Object vars   Array(5)         |   |                |   |                       |   |                |   |               + icon String[2] (65)
      |   |                |   |               | t    String[2] (65)
      |   |                |   |               | wind String[2] (65)
      |   |                |   |               | ppcp String[2] (65)
      |   |                |   |               + hmid String[2] (65)
      |   |                |   |                       |   |                |           |   |                + 1 Array(5)
      |   |                |           |   |                |   + Class name    String[8]   (stdClass)
      |   |                |   | Parent class  Boolean     (FALSE)
      |   |                |   | Class vars    Empty array ()
      |   |                |   | Class methods Empty array ()
      |   |                |   + Object vars   Array(5)         |   |                |   |                       |   |                |   |               + icon String[2] (76)
      |   |                |   |               | t    String[2] (76)
      |   |                |   |               | wind String[2] (76)
      |   |                |   |               | ppcp String[2] (76)
      |   |                |   |               + hmid String[2] (76)
      |   |                |   |                       |   |                |           |   |                  


« previous php.pear.general (#8397) next »