Skip to main content

Official CLI for the DiscoLike API

Project description

discolike-cli

Official CLI for the DiscoLike API — the discolike command from your terminal. Built on the discolike SDK.

Installation

pip install discolike-cli

Or run it without installing:

uvx --from discolike-cli discolike --help

Requires Python 3.10+. Installing this package gives you the discolike command.

Authentication

discolike auth login

Prompts for an API key (or pass --api-key) and verifies it against your account. Create a key at app.discolike.com/account/management/keys. You can also set DISCOLIKE_API_KEY in the environment instead.

Quickstart

discolike discover --icp-text "managed IT services for SMBs" --country US --max-records 25
discolike match "Stripe Inc" --city "San Francisco"
discolike match --file companies.csv --name-column company_name --wait
discolike count --phrase-match "book a demo" --country US
discolike company data stripe.com
discolike extract https://stripe.com/enterprise

Top-level commands: discover, count, match, extract, validate-icp, append, segment — plus auth, company, contacts, discogen, queries, and account command groups.

Conventions

  • Results print as JSON to stdout; errors print as JSON (error, message, status_code) to stderr.
  • Pass --format table for a human-readable table — used automatically when stdout is a TTY.
  • Async endpoints (match --file, discogen run, discogen run-personas, segment, validate-icp) take --wait to block until the job finishes. Without it, you get a task_id back to poll with discolike discogen status <task_id> --family <family>. append is synchronous — it returns enriched rows directly (or writes CSV bytes to --output).

Exit codes

Exit code Meaning
0 Success
1 Server error or unexpected failure
2 Validation error
3 Authentication or plan-access error
4 Rate limited
5 Network error
6 Not found

Links

License

MIT

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

discolike_cli-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

discolike_cli-0.1.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for discolike_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c6accbb10e9e0afec31897cc408396097e8e4166265ac68b5fdb43de1950b93e
MD5 8e9de1444fdc2aab374344aae702d1a8
BLAKE2b-256 7ef62c7a840cc2fc44c9eb8d24783d712874113f7de5c3065d6a160785a604b8

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on discolike/discolike-python

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

File details

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

File metadata

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

File hashes

Hashes for discolike_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4091efb9e9a5b866187ecf76eef66c7c589b66cdf606c1bbb10495dcc40cc22
MD5 6776c752a210327ad59ca6bd4f185742
BLAKE2b-256 2ad4c6c3ec00a86ddc3975d521f925555456d45296e847ebda270b520444d6a2

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on discolike/discolike-python

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