AirQuality
import { AirQuality } from "https://googleapis.deno.dev/v1/airquality:v1.ts";
The Air Quality API.
§Methods
The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a 500 x 500 meters resolution. Includes over 70 local indexes and global air quality index and categories.
Returns air quality forecast for a specific location for a given time range.
Returns air quality history for a specific location for a given time range.
Returns a bytes array containing the data of the tile PNG image.
Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent. Allowed values: - UAQI_RED_GREEN (UAQI, red-green palette) - UAQI_INDIGO_PERSIAN (UAQI, indigo-persian palette) - PM25_INDIGO_PERSIAN - GBR_DEFRA - DEU_UBA - CAN_EC - FRA_ATMO - US_AQI
Required. Defines the east-west point in the requested tile.
Required. Defines the north-south point in the requested tile.
Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view. Zoom level 0 is the entire world in a single tile. Zoom level 1 is the entire world in 4 tiles. Zoom level 2 is the entire world in 16 tiles. Zoom level 16 is the entire world in 65,536 tiles. Allowed values: 0-16