Documentation ¶
Overview ¶
Package openweathermap provides weather using the OpenWeatherMap API, available at https://openweathermap.org/api.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config string
Config represents open weather map API configuration (just the API key) from which a weather.Provider can be built.
func (Config) CityID ¶
CityID queries OWM by city id. Recommended.
func (Config) CityName ¶
CityName queries OWM using a named city. Least accurate.
func (Config) Coords ¶
Coords queries OWM using lat/lon co-ordinates.
Click to show internal directories.
Click to hide internal directories.