open_weather_api_client library

Classes

CurrentWeather
This is the class that handles JSON deserialization and makes data for current weather queries accessible. The fields in this class differ slightly to OneCallCurrentWeather as the API provides different fields when querying the One Call API Endpoint and the Current Weather API endpoint.
CurrentWeatherFactory
This class queries the Current Weather API endpoint, the docs to which can be found here https://openweathermap.org/current
LocationCoords
OneCallAlertsWeather
OneCallCurrentWeather
OneCallDailyWeather
OneCallHourlyWeather
OneCallMinutelyWeather
OneCallWeather
This is the class that handles JSON deserialization and makes data for current weather queries accessible
OneCallWeatherFactory
This class queries the OneCall Weather API endpoint, the docs to which can be found here https://openweathermap.org/api/one-call-api
UnitSettings
This class stores the configuration for which units you want the queried data to be converted to

Enums

DistanceUnit
The enum for specifying which unit distance is to be measured in
ExcludeField
The enum for specifying which fields you want excluded from a query to the One Call API endpoint
InternetStatus
The enum for specifying the status of the internet connection
Language
PrecipitationUnit
The enum for specifying which unit precipitation is to be measured in
PressureUnit
The enum for specifying which unit pressure is to be presented in
RequestStatus
The enum for identifying the status of the weather factory
TemperatureUnit
The enum for specifying which unit the temperature is to be presented in
WeatherType
The enum for identifying what the weather condition is. The main description parameter provides one suitable for display, so this is primarily provided to aid in implementing conditional logic dependent on the weather, for example, a dynamic background
WindSpeedUnit
The enum for specifying which unit the wind speed is to be presented in

Properties

languageCode Map<Language, String>
getter/setter pair