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

    Interface MeasuresParams

    Parameters for /measures/json (a window plus component/scope). The response holds one series per station (one value per hour), so component and scope are both required: left out, the API would not return all series but pick one itself (e.g. PM2.5 daily floating average). measures() rejects a call without them. An id the station does not measure gives data: {}.

    interface MeasuresParams {
        component: number;
        date_from: string;
        date_to: string;
        scope: number;
        station: number;
        time_from: number;
        time_to: number;
    }

    Hierarchy (View Summary)

    Index
    component: number

    Component id (see components).

    date_from: string

    Start date, YYYY-MM-DD.

    date_to: string

    End date, YYYY-MM-DD.

    scope: number

    Scope id, the averaging (see scopes).

    station: number

    Station id.

    time_from: number

    Start hour, 1..24.

    time_to: number

    End hour, 1..24.