This is a Widget to get weather data from Google's Weather API
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.0 or above
Installation ¶
- The extraction will result in to 2 folders, protected and images.
- Copy the protected/components/weather folder to protected/components
- Copy the images/weather folder to images
Usage ¶
The widget needs a input location, which can be:
- ZipCode (Example:63376) or
- Address (Example: new+york,ny).
In your view simply invoke the widget.
$this->widget('application.components.weather.GoogleWeatherAPI', array('location'=>$location));
Change Log ¶
October 09, 2009 ¶
- Initial release.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.