Skip to main content

disaster.list

Overview

  • Returns all available disaster IDs with localized names.

Metadata

FieldValue
DisplayList Disasters
Categorydisaster
AccessPublic
ScopeB2Authority
Tags
Aliases

Parameters

  • This command takes no parameters.

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
disastersarrayyesAvailable disasters
disasters[].idstringyesDisaster identifier
disasters[].labelstringyesLocalized disaster name

Usage

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