package
Version:
v0.0.0-...-c936f35
Opens a new window with list of versions in this module.
Published: Apr 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 14
Opens a new window with list of known importers.
Documentation
¶
Config represents open weather map API configuration (just the API key)
from which a weather.Provider can be built.
New creates a new OpenWeatherMap API configuration.
CityID queries OWM by city id. Recommended.
CityName queries OWM using a named city. Least accurate.
Coords queries OWM using lat/lon co-ordinates.
Zipcode queries OWM using a zip code or post code and country.
Provider wraps an open weather map API url so that
it can be used as a weather.Provider.
GetWeather gets weather information from OpenWeatherMap.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.