Skip to main content

weather.list

Overview

  • Returns all available normal weather IDs with localized names.

Metadata

FieldValue
DisplayList Weathers
Categoryweather
AccessPublic
ScopeB2Authority
Tags—
Aliases—

Parameters

  • This command takes no parameters.

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
weathersarray<object>yesAvailable normal weathers
weathers[].idstringyesWeather identifier. It doubles as the EB1WeatherType name, which is what environment.control_weather's weather parameter takes
weathers[].labelstringyesLocalized weather name
weathers[].stepsintyesHow many intensity steps this weather has. environment.control_weather's step is 1-based within that range and is silently clamped, so a caller that guesses cannot tell it guessed wrong

Usage

await inzoi.cli.execute('weather.list');