返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Cochesnet Cli

使用 cochesnet CLI 搜索 coches.net 的车辆列表并获取详细信息。当用户请求 coche .net 市场数据或需要具体的 CLI 命令和标志时适用。

person作者: pjtf93hubclawhub

Purpose

Use the cochesnet CLI to search listings and fetch ad details.

When to use

  • User asks to search coches.net listings from the terminal.
  • User needs listing details for a known ad ID.
  • User wants JSON output for scripting.

Commands

Search listings

cochesnet search "<query>" [--limit <n>] [--page <n>]

Listing detail

cochesnet listing <adId>

JSON output

Add --json to either command:

cochesnet search "bmw" --json
cochesnet listing 58229053 --json

Configuration

Environment variables:

  • COCHESNET_BASE_URL (default: https://apps.gw.coches.net)
  • COCHESNET_APP_VERSION (default: 7.94.0)
  • COCHESNET_HTTP_USER_AGENT (default: coches.net 7.94.0)
  • COCHESNET_X_USER_AGENT (default: 3)
  • COCHESNET_TENANT (default: coches)
  • COCHESNET_VARIANT (optional X-Adevinta-MT-Variant header)

Output expectations

  • Search: table or JSON with id, title, price, year, km, location, url.
  • Listing: table or JSON with title, price, url, seller, description.

Examples

cochesnet search "bmw" --limit 5
cochesnet search "toyota" --page 2
cochesnet listing 58229053

Error handling

  • Non-zero exit code on failure.
  • For scripting, use --json and check exit code.