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
weathersarrayyesAvailable normal weathers
weathers[].idstringyesWeather identifier
weathers[].labelstringyesLocalized weather name

Usage

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