Bargain Chemist NZ
Goal
Query live Bargain Chemist NZ product data through a small deterministic CLI with human-readable and JSON output, without browser automation or account login.
Use this when
- A user asks for Bargain Chemist NZ product prices or availability
- A user wants to search Bargain Chemist products by keyword
- A user has a Bargain Chemist product handle or URL and wants public product details
- A workflow needs lightweight machine-readable Bargain Chemist public product data
Do not use this for
- Non-Bargain Chemist retailers
- Authenticated account, loyalty, personalised, cart, checkout, prescription, order, delivery, or payment actions
- Redistributing scraped Bargain Chemist product data as a dataset
- Medical advice, medicine suitability, or historical pricing claims
Preferred workflow
- Run
scripts/cli.pywith the narrowest subcommand that answers the task. - Use
searchfor keyword product lookup andsuggestfor typeahead-style discovery. - Use
productwhen a product handle or Bargain Chemist product URL is known. - Use
--jsonfor agent chaining, comparisons, alerts, or structured reports. - Mention that prices and availability are live public website snapshots from an unofficial read-only wrapper.
CLI
Run with:
python3 skills/bargainchemist-nz/scripts/cli.py <command> [flags]
Commands:
search <term> [--limit N] [--page N] [--json]- Boost Commerce product searchsuggest <term> [--limit N] [--json]- Boost Commerce search suggestions and product suggestionsproduct <handle-or-url> [--json]- Shopify product JSON for one product handle
Examples:
python3 skills/bargainchemist-nz/scripts/cli.py search panadol --limit 5
python3 skills/bargainchemist-nz/scripts/cli.py suggest vitamins --limit 5 --json
python3 skills/bargainchemist-nz/scripts/cli.py product panadol-liquid-caps-16s --json
Resources
- CLI entrypoint:
scripts/cli.py - Live smoke test:
scripts/smoke_test.py - API and safety notes:
references/api-notes.md
Notes
- The implemented commands use only Python stdlib and unauthenticated public GET requests.
- Search and suggest use Bargain Chemist's Boost Commerce endpoints; product detail uses Shopify
products/<handle>.js. - Do not use this skill for cart, checkout, account, prescription, payment, or order mutations.