weather.list
Overview
- Returns all available normal weather IDs with localized names.
Metadata
| Field | Value |
|---|---|
| Display | List Weathers |
| Category | weather |
| Access | Public |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
- This command takes no parameters.
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
weathers | array | yes | Available normal weathers |
weathers[].id | string | yes | Weather identifier |
weathers[].label | string | yes | Localized weather name |
Usage
await inzoi.cli.execute('weather.list');