Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

A CakePHP component for getting the weather using The Google Weather API

License

Notifications You must be signed in to change notification settings

robertlove/CakePHP-Weather-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
Weather Component

A CakePHP component for getting the weather using The Google Weather API

INSTALLATION
------------

Copy weather.php to your app/controllers/components directory

CONFIGURATION
---------------

In your controller, add the Weather Component to your $components array

    public $components = array('Weather');

USAGE
---------------

The following example shows how to get the weather for Sydney Australia from
within a controller action:

    $this->Weather->location = 'Sydney Australia';
    $this->Weather->forecast();
    debug($this->Weather);
    exit;

LICENSE
-------

The files in this archive are released under the new BSD license. You can find a
copy of this license in LICENSE.

About

A CakePHP component for getting the weather using The Google Weather API

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published