weather_library library

Classes

Temperature
A class for holding a temperature. Can output temperature as Kelvin, Celsius or Fahrenheit. All results are returned as double.
Weather
A class for storing a weather-query response from OpenWeatherMap. This includes various measures such as location, temperature, wind, snow, rain and humidity.
WeatherFactory
Plugin for fetching weather data in JSON.

Enums

Language

Exceptions / Errors

OpenWeatherAPIException
Custom Exception for the plugin, Thrown whenever the API responds with an error and body could not be parsed.