lawa-nz

Query Land Air Water Aotearoa (LAWA) public river-quality sites, swimming sites, and river indicator summaries through no-login Umbraco JSON endpoints. Use when the task involves NZ river quality, mac

SKILL.md

GitHub

LAWA NZ

Goal

Query public LAWA environmental monitoring site and indicator data with a deterministic read-only CLI.

CLI

python3 skills/lawa-nz/scripts/cli.py river-sites --query waikato --json
python3 skills/lawa-nz/scripts/cli.py swim-sites --query beach --limit 10
python3 skills/lawa-nz/scripts/cli.py indicators --lawa-id ARC-00001 --json

Commands:

  • river-sites [--query TEXT] [--limit N] [--json] - river-quality map sites and regions
  • swim-sites [--query TEXT] [--limit N] [--json] - swimming site cards parsed from LAWA public response HTML
  • indicators [--lawa-id ID] [--parameter PARAM] [--limit N] [--json] - river indicator summaries from LAWA public JSON

Resources

  • CLI: scripts/cli.py
  • Smoke test: scripts/smoke_test.py
  • API notes: references/api-notes.md

Notes

LAWA endpoints are public/read-only but not a formal published API contract; keep calls modest and verify live data before relying on broad analysis.