Return to Snippet

Revision: 44192
at April 7, 2011 17:33 by xavsio4


Initial Code
$xml = simplexml_load_file('http://www.google.com/ig/api?weather=ADDRESS');
  $information = $xml->xpath("/xml_api_reply/weather/current_conditions/condition");
  echo $information[0]->attributes();

Initial URL


Initial Description


Initial Title
Get Current weather using google API

Initial Tags


Initial Language
PHP