Commands

Every command, argument and option of nina 0.0.6, read from the CLI itself.

Global options

These options work with every command.

OptionDescriptionDefault
-V, --version output the version number
--base-url <url> API base URL https://warnung.bund.de
--timeout <ms> per-request timeout in milliseconds (0 disables; waits indefinitely)
--user-agent <ua> User-Agent header value
--max-retries <n> retries for transient 429/503 responses (default 2, max 10)
--max-response-bytes <n> cap response body size in bytes (0 = unlimited; default 100 MiB)
--compact print JSON on a single line instead of pretty-printed
-o, --output <file> write the command's output to this file instead of stdout

nina sources

List the valid warning sources

nina sources [options]

nina map-data

Current warnings from a source (mowas | katwarn | biwapp | dwd | lhp | police)

nina map-data [options] <source>

Arguments

<source> required

nina warning

A single warning by identifier

nina warning get

Get the full CAP warning for an identifier

nina warning get [options] <identifier>

Arguments

<identifier> required

nina warning geojson

Download the warning's geometry as GeoJSON (-o to write a file)

nina warning geojson [options] <identifier>

Arguments

<identifier> required

nina dashboard

Warnings affecting a district, by its district-level ARS (12 digits, last 7 digits 0)

nina dashboard [options] <ars>

Arguments

<ars> required

nina archive

MoWaS archive (historical warnings)

nina archive mapping

Revision history for an archived MoWaS identifier

nina archive mapping [options] <identifier>

Arguments

<identifier> required

nina archive get

A specific archived MoWaS warning

nina archive get [options] <identifier>

Arguments

<identifier> required