opensatx/sawaterlevel-api — pull request #12 by davidrleonard (2014-07-28 05:22:50+00:00)
Title: Add irrigation level

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.