MBIE Jobs Online NZ
Use the read-only Python CLI to retrieve and filter records exposed by the official first-party source.
Every command supports --json, bounded requests, stable exit codes, source URLs and retrieval timestamps.
Commands
# show latest headline resources
python3 scripts/cli.py latest --json
# filter by occupation
python3 scripts/cli.py occupation QUERY --json
# filter by industry
python3 scripts/cli.py industry NAME --json
# filter by region
python3 scripts/cli.py region NAME --json
# filter by skill level
python3 scripts/cli.py skill-level NUMBER --json
# discover an inclusive ISO date-range trend
python3 scripts/cli.py trend --from YYYY-MM-DD --to YYYY-MM-DD --json
# show methodology and series definitions
python3 scripts/cli.py definitions --json
Add --limit N (1–100) to bound any command. Human output is the default.
Malformed or reversed trend ranges fail as invalid input before the workbook download.
Coverage and interpretation
- Advertised vacancies are not employment, hiring or unique job openings.
- Preserve index, seasonal-adjustment, revision and methodology context.
- Do not merge with job-listing counts unless definitions and deduplication are explicit.
The CLI parses MBIE's consolidated unadjusted quarterly CSV and returns actual AVI rows by geography and series. Every row retains export provenance and methodology warnings.
Resources
scripts/cli.py— canonical command entrypointscripts/test_contract.py— deterministic repository contract auditscripts/smoke_test.py— parser fixture and bounded live probetests/fixtures/jobs.csv— deterministic official CSV-schema fixturereferences/source-profile.json— command schema, source allowlist and warningsreferences/source-notes.md— feasibility, provenance and source limits