\OpenWeatherService
- Author: marcus
Synopsis
class OpenWeatherService
{
- // members
- public string $endpoint = 'http://api.openweathermap.org';
- public string $key = 'oawne';
- public string $units = 'metric';
- // methods
- public forecastFor()
- private array request()
Members
public
- $endpoint — string
- $key — string
- $units
—
string
Default to Celsius.