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

    Function getStationForecast

    • The forecast of one or more DWD stations in real units (°C, mm, %, hPa, km/h, minutes of sun): the next hours from the current hour, not from midnight (where the API's series start), each value at its own hour (the short series are end-aligned), totals for the hour from the listed time; then days from today with min/max, rain, wind, sunrise/sunset and the day's sunshine summed from the series, since the API's daily sunshine is often 0 on sunny days. A value the API marks missing (32767) is null, never 0 or 3276.7; a series the station lacks is named in notProvided. An unknown id is in missing (the API answers it with nothing, not an error). The stations come in the order asked, each once.

      Parameters

      Returns Promise<StationForecasts>