A simple Sinatra app that takes the Air Quality Index (AQI) and compares it with Boise local ordinances to let you know whether current conditions are within ordinances based off of forecasts.
DISCLAIMER: Official restrictions are served here. Furthermore, prohibitions are based off of the forecast, not actual conditions. That is, an AQI lower than forecase does not necessarily mean it is okay for you to burn. For more information on open burning requirements, please contact your local city or county office.
burn-boise.raff.io selfishly defaults to my zipcode (83704), but you may provide a zipcode as argument: http://burn-boise.raff.io/?zipcode=83702.
For simple responses, designed to be consumed by other apps, try:
- http://burn-boise.raff.io/aqi/83702
- http://burn-boise.raff.io/burn/83702/open
- Try
open
,fireplace
,woodstove
, orcertified
for your specific question. - List of parseable regulations
- Try
- Ruby 2.6.4
- Sinatra
- HTTParty
- Nokogiri
Happy to look at pull requests introducing new features.
- Fork it
- Create a topic branch
- Commit
- Open Pull Request