Skip to content

currentByName

查询指定当前台风。

调用方式:

typescript
const data = await client.typhoon.currentByName(params);
typescript
import { Typhoon } from 'loongship-data';

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

请求参数 (TyphoonCurrentByNameParams)

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

返回类型: TyphoonCurrentByNameData

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