@maschinenlesbar.org/nina-warnungen-cli
    Preparing search index...

    Function getRegionWarnings

    • The active warnings of one district (the per-region dashboard), ranked like the briefing. Severity, urgency, msgType and provider are under payload.data, not on top (msgType and severity read in any case). Cancellations are dropped and listed apart; an entry whose top-level expires has passed is dropped; a null expires (MoWaS) stays active and is filled from the warning when the details are read. The readable area is the warning's areaDesc, never the encoded payload.data.area. A district NINA doesn't know (HTTP 404) is empty with the reason; no warning at all is ok, a real all-clear that depends on the key being the right district. With previous, what changed since.

      Parameters

      Returns Promise<RegionWarnings>