ratz/src/modules/outsideworld/owm/forecast.go

type ForecastSys

type Temperature

type City

type ForecastWeather

type ForecastWeatherJson

type ForecastWeatherData

// NewForecast returns a new HistoricalWeatherData pointer with
// the supplied arguments.
func NewForecast(forecastType, unit, lang, key string, options ...Option) (*ForecastWeatherData, error) {}

// DailyByName will provide a forecast for the location given for the
// number of days given.
func (f *ForecastWeatherData) DailyByName(location string, days int) error {}

// DailyByCoordinates will provide a forecast for the coordinates DiscordID give
// for the number of days given.
func (f *ForecastWeatherData) DailyByCoordinates(location *Coordinates, days int) error {}

// DailyByID will provide a forecast for the location DiscordID give for the
// number of days given.
func (f *ForecastWeatherData) DailyByID(id, days int) error {}

// DailyByZip will provide a forecast for the provided zip code.
//
// Deprecated: use DailyByZipcode instead.
func (f *ForecastWeatherData) DailyByZip(zip int, countryCode string, days int) error {}

// DailyByZipcode will provide a forecast for the provided zip code.
func (f *ForecastWeatherData) DailyByZipcode(zip string, countryCode string, days int) error {}