Ideal Postcodes CLI
Introducing idpc, the Ideal Postcodes command line interface. Manage your account, clean address data, and validate emails and phone numbers from the terminal. Built for humans and agents.
In agent mode, the CLI will non-interactively emit JSON to stdout and signal failure through exit codes.
Details
- Key management: Check balances, usage, lookup logs, and allowed-URL configurations for your API keys
- Address cleansing:
idpc cleansematches messy addresses against authoritative data, taking a single query, a file, or stdin, with CSV output for batches - Find and resolve:
idpc findreturns address suggestions for a partial query; pipe a suggestion ID intoidpc resolvefor the full record - Email and phone validation:
idpc emailandidpc phonemirror the cleanse workflow, with--carrierlookups for phone numbers - Diagnostics:
idpc doctorverifies connectivity and reports whether your key is actually usable, explaining limits or restrictions when it is not
Install with npm install -g @ideal-postcodes/cli. Available on npm.