Air Quality API
The Air Quality API.
Service: airquality.googleapis.com
The Service name airquality.googleapis.com
is needed to create RPC client stubs.
Methods |
LookupCurrentConditions
|
The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a 500 x 500 meters resolution. |
LookupForecast
|
Returns air quality forecast for a specific location for a given time range. |
LookupHeatmapTile
|
Returns a bytes array containing the data of the tile PNG image. |
LookupHistory
|
Returns air quality history for a specific location for a given time range. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-28 UTC.
[null,null,["Last updated 2024-08-28 UTC."],[[["The Air Quality API provides access to current, forecast, and historical air quality data for numerous locations."],["It offers endpoints for retrieving hourly conditions, forecasts, historical data, and heatmap tile images."],["Data granularity can reach up to 500 x 500 meters resolution for current conditions in over 100 countries."],["Developers need to use the service name \"airquality.googleapis.com\" for creating RPC client stubs to interact with the API."]]],["The Air Quality API, accessible via `airquality.googleapis.com`, offers four primary methods. `LookupCurrentConditions` provides hourly air quality data at high resolution across numerous countries. `LookupForecast` returns air quality predictions for a specific location and time frame. `LookupHeatmapTile` provides PNG image data of air quality tiles. Finally, `LookupHistory` delivers historical air quality data for a chosen location and time span. The service name is required to use the API client stubs.\n"]]