Skip to main content

CLI for calling the Qondor API

Project description

qondor-cli

A command-line interface for the Qondor API, built on Typer and the qondor-api-sdk.

Install

pip install qondor-cli

Requires Python 3.12+.

Configuration

The CLI reads credentials from environment variables (or equivalent flags):

Variable Required Default Description
QONDOR_SUBSCRIPTION_KEY yes Azure APIM subscription key for the Qondor API.
QONDOR_ENV no prod One of prod, test, dev.

Every command also accepts --subscription-key/-k and --env/-e flags if you prefer to pass them explicitly.

export QONDOR_SUBSCRIPTION_KEY="..."
export QONDOR_ENV="prod"

Quick start

# List all top-level command groups.
qondor --help

# Fetch a single offer by ID (human-readable output).
qondor offer get 12345

# Same call, compact JSON suitable for piping into jq.
qondor offer get 12345 --raw | jq '.title'

# List offers for a project.
qondor offer list --project-id 678

Command groups

  • qondor offer — offers and offer currencies
  • qondor project — projects
  • qondor customer — customers
  • qondor product — products
  • qondor product-group — product groups
  • qondor supplier — suppliers
  • qondor contact-person — contact persons
  • qondor office — office queries
  • qondor statistics — statistics queries

Run qondor <group> --help for the sub-commands in each group.

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qondor_cli-0.1.0.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qondor_cli-0.1.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file qondor_cli-0.1.0.tar.gz.

File metadata

  • Download URL: qondor_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qondor_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4e6932e35488809d94e97811be7a8461959c5e9d7a85fd67df6f44c67e8b1a6a
MD5 03fa1f216602d93cc393aa7f0f732209
BLAKE2b-256 833e3afbff883ffd0f152c741f67760de8caf43262ef4b82563403aab7215622

See more details on using hashes here.

Provenance

The following attestation bundles were made for qondor_cli-0.1.0.tar.gz:

Publisher: publish.yml on Qondor-AS/qondor-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qondor_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qondor_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qondor_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9cdc6bc152caf3deee881fbfd08d998476cec500192c166eaba97086de53e23
MD5 cc3136849c415b246aba335a873477fd
BLAKE2b-256 19e865b3d94f26b83c87faab30a95423348e963478509496145ba37958273b45

See more details on using hashes here.

Provenance

The following attestation bundles were made for qondor_cli-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Qondor-AS/qondor-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page