Back to APIs list

Air quality API examples & templates

Use these vals as a playground to view and fork Air quality API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
gwthompson avatar
gwthompson
assertiveTanMeadowlark
Cron
Forked from stevekrouse/aqi
0
mateoclarke avatar
mateoclarke
aqi
Cron
Forked from stevekrouse/aqi
0
seanodotcom avatar
seanodotcom
zygomorphicPurpleStoat
Cron
Forked from stevekrouse/aqi
0
mihai avatar
mihai
aqi
Cron
Forked from geraldo/aqi
0
daabin avatar
daabin
aqi
Cron
Forked from stevekrouse/aqi
0
stevekrouse avatar
stevekrouse
easyAQIExample
Script
// The realtime Air Quality Index (AQI) for any location
0
raei avatar
raei
aqi
Script
An interactive, runnable TypeScript val by raei
0
chen avatar
chen
aqi
Cron
Forked from stevekrouse/aqi
0
santiesteban avatar
santiesteban
nowcastPMAqi
Script
Cloned from russbiggs to learn how to use val.town US EPA Particulate Matter NowCast AQI (Air Quality Index) Algorithm The US EPA generally uses 24 hours periods of data to calculate AQI. To calculate AQI at an hourly scale the NowCast algorithm is a more appropriate choice Algorithm explained more fully at: https://observablehq.com/@openaq/epa-pm-nowcast inputs an array of measurements values of particulate matter returns an NowCast air quality index number between 0-500 0 to 50 Good 51 to 100 Moderate 101 to 150 Unhealthy for Sensitive Groups 151 to 200 Unhealthy 201 to 300 Very Unhealthy 301 to 500 Hazardous
0
jdahlin avatar
jdahlin
easyAQIExample
Script
// The realtime Air Quality Index (AQI) for any location
0
motyar avatar
motyar
aqi
Cron
Forked from stevekrouse/aqi
0
ari avatar
ari
aqi
Cron
Forked from stevekrouse/aqi
0
yacosta738 avatar
yacosta738
aqi
Cron
AQI Alerts Get email alerts when AQI is unhealthy near you. Set up Click Fork Change location (Line 4) to describe your location. It accepts fairly flexible English descriptions which it turns into locations via nominatim's geocoder API . Click Run Background This val uses nominatim's geocoder to get your lat, lon, and air quality data from OpenAQ. It uses EPA's NowCast AQI Index calculation and severity levels. Learn more: https://www.val.town/v/stevekrouse.easyAQI
0
adambuilds avatar
adambuilds
aqi
Cron
Forked from stevekrouse/aqi
0
tarngerine avatar
tarngerine
brownCoral
Script
Forked from stevekrouse/aqi
0
adambuilds avatar
adambuilds
blitheTomatoDragonfly
Cron
Forked from stevekrouse/aqi
0