open_weather_api_client
library
Classes
-
CurrentWeather
-
This is the class that handles JSON deserialization and makes data for CurrentWeather 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 at
https://openweathermap.org/current
-
LocationCoords
-
This class is used to provide the longitude and latitude of a place to a weather factory
-
OneCallAlertsWeather
-
This is the class that handles JSON deserialization and makes data for alerts received from
queries to the OneCall API endpoint accessible.
-
OneCallCurrentWeather
-
This is the class that handles JSON deserialization and makes data for the current weather
forecast received from queries to the OneCall API endpoint accessible.
-
OneCallDailyWeather
-
This is the class that handles JSON deserialization and makes data for the daily weather
forecast received from queries to the OneCall API endpoint accessible.
-
OneCallHourlyWeather
-
This is the class that handles JSON deserialization and makes data for the hourly weather
forecast received from queries to the OneCall API endpoint accessible.
-
OneCallMinutelyWeather
-
-
OneCallWeather
-
This is the class that handles JSON deserialization and makes data for OneCall weather queries accessible.
The fields in this class differ slightly to CurrentWeather as the API provides different fields
when querying the Current Weather API endpoint and the One Call API Endpoint.
-
OneCallWeatherFactory
-
This class queries the OneCall Weather API endpoint, the docs to which can be found at
https://openweathermap.org/api/one-call-api
-
RequestResponse<T>
-
The response, used to return the RequestStatus and the weather data
-
UnitSettings
-
This class is ued to provide the configuration for which units you want the queried data to be converted to,
to a weather factory
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
-
This enum contains all the languages that are supported by OpenWeather
-
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