Skip to content

portSearch

根据潮汐观察港口名称查询港口信息。

调用方式:

typescript
const data = await client.tide.portSearch(params);
typescript
import { Tide } from 'loongship-data';

const data = await Tide.portSearch({ key: 'YOUR_KEY', ...params });

请求参数 (TidePortSearchParams)

参数名类型必填描述
namestring名称。
keystringUser authorization key. Optional when an instance key or global key is registered.

返回类型: TidePortSearchData

查看类型定义
typescript
export type TidePortSearchData = LoongshipRecord[];