Property | Type | Description | |
---|---|---|---|
$http | Phergie_Plugin_Http | HTTP plugin | |
$url | string | Base API URL |
Method | Description | |
---|---|---|
onCommandTfw ( string $location ) : void | Alias for TheFuckingWeather command. | |
onCommandThefuckingweather ( string $location ) : void | Returns the weather from the specified location. | |
onLoad ( ) : void | Checks for dependencies. |
Method | Description | |
---|---|---|
getWeather ( string $location ) : string | boolean | Get the necessary content and returns the search result. |
public onCommandTfw ( string $location ) : void | ||
$location | string | Location term |
return | void |
public onCommandThefuckingweather ( string $location ) : void | ||
$location | string | Location term |
return | void |
protected Phergie_Plugin_Http $http | ||
return | Phergie_Plugin_Http |