Maple CLI
Read Maple's public resources and your app's scoped Developer API data from a terminal. The client requires Node.js 20 or later and has no dependencies.
Download and run
Download maple-cli.mjs, inspect the file, then run:
node maple-cli.mjs --help
node maple-cli.mjs docs
node maple-cli.mjs openapi
node maple-cli.mjs partner-openapi The official website download is available now. npm registry distribution is pending; there is no published npm installation command yet.
Partner API reads
Set MAPLE_API_KEY through your environment or secret manager. Use a sandbox key by default; production requires --env production and a matching live key. See Maple API authentication.
node maple-cli.mjs me
node maple-cli.mjs locations
node maple-cli.mjs orders --limit 20
node maple-cli.mjs webhook-event-types
node maple-cli.mjs me --env production Commands make read-only requests. Public commands send no credentials. Orders return one page with has_more; use --since and --after as shown in --help to drain a checkpoint. Protect saved output: partner reads can contain merchant or customer data.
Output and failures
JSON responses go to stdout and JSON errors to stderr. Exit codes are 0 for success, 1 for request failure, and 2 for usage errors. Requests time out after 15 seconds. The client does not follow redirects, retry, change orders, subscribe webhooks, or make bookings.
Maple developer resources