Appearance
archive
船舶档案查询
按 MMSI、IMO、船名或呼号查询船舶档案信息。
调用方式:
typescript
const data = await client.ship.archive(params);请求信息: GET /dataapi/vesselInfo/getShipVesselInfo,鉴权参数 k
请求参数 (ShipArchiveParams)
| 参数名 | 类型 | 必填 | 描述 | 补充说明 |
|---|---|---|---|---|
| key | `string | undefined` | 否 | User authorization key. Optional when the client already has a default key. |
约束: 至少传一个:mmsi、imo、shipname、callsign
返回类型: ShipArchiveData
查看类型定义
typescript
export type ShipArchiveData = ShipRecord;