Skip to content

record

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

调用方式:

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

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

请求参数 (TideRecordParams)

参数名类型必填描述
portIdstring港口 id。
keystringUser authorization key. Optional when an instance key or global key is registered.

返回类型: TideRecordData

查看类型定义
typescript
export type LoongshipRecord = Record<string, unknown>;