opensatx / sawaterlevel-api

Simple web scraper that grabs water data for sawaterlevel app, serves json
sawaterlevels-api.herokuapp.com
3 stars 2 forks source link

Add irrigation level #12

Closed davidrleonard closed 10 years ago

davidrleonard commented 10 years ago

I can't scrape the data for irrigationAllowed right now (we're in stage 2). For now, I'm just checking to make sure stageLevel isn't at or above 3, and returning true. If it is, I'm returning undefined.

When we hit stageLevel 3, we can figure out where to scrape irrigationAllowed from.

davidrleonard commented 10 years ago

Somewhat "solves" #7