Skip to content
TodayTell Data

CLI

Install the CLI, authenticate with a key, list datasets, query rows and export CSV — with meaningful exit codes for cron jobs.

Install

npm i -g @bymdata/cli

Commands

  • bym login --key <key> — stores the key in the OS keychain
  • bym datasets — list slugs and last verified
  • bym query <slug> [filters] --limit --format — prints CSV or JSON
  • bym export <slug> --out file.csv — bulk export with progress

Scripting

Exit codes are meaningful: 0 success, 2 auth, 3 rate-limited, 4 bad filter. Use them in cron jobs instead of parsing text.

Status

The CLI ships when the API ships. Until then, `curl` in /docs/quickstart is the supported path.

Missing something? Ask for API access and we answer in writing within 24 hours.

Get a free sampleWhatsApp