air_quality library

Classes

AirQuality
Plugin for fetching weather data in JSON.
AirQualityData
A class for storing Air Quality JSON Data fetched from the API.

Functions

airQualityIndexToLevel(int index) AirQualityLevel

Enums

AirQualityLevel

Exceptions / Errors

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