Befehle

Alle Befehle, Argumente und Optionen von nina 0.0.6, direkt aus der CLI gelesen.

Die Beschreibungen der Befehle, Argumente und Optionen stammen direkt aus der CLI und sind englisch.

Globale Optionen

Diese Optionen gelten für jeden Befehl.

OptionBeschreibungStandard
-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>

Argumente

<source> erforderlich

nina warning

A single warning by identifier

nina warning get

Get the full CAP warning for an identifier

nina warning get [options] <identifier>

Argumente

<identifier> erforderlich

nina warning geojson

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

nina warning geojson [options] <identifier>

Argumente

<identifier> erforderlich

nina dashboard

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

nina dashboard [options] <ars>

Argumente

<ars> erforderlich

nina archive

MoWaS archive (historical warnings)

nina archive mapping

Revision history for an archived MoWaS identifier

nina archive mapping [options] <identifier>

Argumente

<identifier> erforderlich

nina archive get

A specific archived MoWaS warning

nina archive get [options] <identifier>

Argumente

<identifier> erforderlich