Appearance
search
船舶搜索
通过船名、呼号、MMSI 或 IMO 等关键字搜索船舶基础信息。
调用方式:
typescript
const data = await client.ship.search(params);请求信息: GET /apicall/QueryShip,鉴权参数 k
请求参数 (ShipSearchParams)
| 参数名 | 类型 | 必填 | 描述 | 补充说明 |
|---|---|---|---|---|
| kw | string | 是 | 船名、呼号、MMSI、IMO。 | 备注: 船名、呼号、MMSI、IMO |
| max | number | 否 | 最大返回数,默认 100。 | 默认值: 100;备注: 1-100 |
返回类型: ShipSearchData
查看类型定义
typescript
export type ShipSearchData = ShipRecord[];