Appearance
current
查询当前台风位置及预测值
查询当前台风路径以及预测值。
调用方式:
typescript
const data = await client.typhoon.current(params);请求信息: GET /apicall/getTyphoonDetails,鉴权参数 k
请求参数 (TyphoonCurrentParams)
| 参数名 | 类型 | 必填 | 描述 | 补充说明 |
|---|---|---|---|---|
| type | number | 是 | 类型,固定值 2。 | 默认值: 2;备注: 固定值2 |
| nodetype | string | 是 | 节点数量控制,固定值 all。 | 默认值: all;备注: 固定值 all |
返回类型: TyphoonCurrentData
查看类型定义
typescript
export type TyphoonCurrentData = TyphoonRecord;