@maschinenlesbar.org/hochwasserzentralen-cli
    Preparing search index...

    Interface StationsParams

    Parameters for client.stations().

    interface StationsParams {
        lang?: "de" | "en";
        minClass?: number;
        states?: readonly string[];
        water?: string;
    }
    Index
    lang?: "de" | "en"
    minClass?: number

    Only stations with lhpClass >= minClass, an integer from -1 to 4. Gauges without a class (lhpClass null) never match; an off-scale class rejects with a HochwasserzentralenParseError. Applied after the fetch.

    states?: readonly string[]
    water?: string

    Only stations whose water (river) name contains this text: compared case-insensitively on the NFC form, whitespace runs = one space, ß = ss, ä/ö/ü = ae/oe/ue (or without the diacritic), Unicode dashes = -. Applied after the fetch (the API has no such parameter); a blank value is rejected.