<?php 
 
 
header("Content-Type: text/html; charset=utf-8");
 
 
include_once '../api.wunderground.classes.inc.php';
 
 
# to get an api key register here http://www.wunderground.com/weather/api/
 
 
# completely fluent
 
echo WundergroundWeather::getInstance("DE")
 
    ->apikey("--your api key here--")
 
    ->Layers()
 
        ->Radar(array("width"=>200, "height"=>200))
 
        ->asPNG()
 
        ->CityCountry("MI", "Ann_Arbor")
 
    ->doRequest()
 
->getImage();
 
 
 |