AirQualityIndex
import type { AirQualityIndex } from "https://googleapis.deno.dev/v1/airquality:v1.ts";
The basic object for representing different air quality metrics. When brought together, these metrics provide a snapshot about the current air quality conditions. There are multiple indexes in the world serving different purposes and groups interested in measuring different aspects of air quality.
§Properties
The index's numeric score. Examples: 10, 100. The value is not normalized and should only be interpreted in the context of its related air-quality index. For non-numeric indexes, this field will not be returned. Note: This field should be used for calculations, graph display, etc. For displaying the index score, you should use the AQI display field.
Textual representation of the index numeric score, that may include prefix or suffix symbols, which usually represents the worst index score. Example:
100 or 10+. Note: This field should be used when you want to display the index score. For non-numeric indexes, this field is empty.
Textual classification of the index numeric score interpretation. For example: "Excellent air quality".