Package openweathermap provides weather using the OpenWeatherMap API, available at https://openweathermap.org/api.
- type Config
- type Provider
type Config string
Config represents open weather map API configuration (just the API key) from which a weather.Provider can be built.
CityID queries OWM by city id. Recommended.
CityName queries OWM using a named city. Least accurate.
Coords queries OWM using lat/lon co-ordinates.