Befehle

Alle Befehle, Argumente und Optionen von luftqualitaet 0.0.7, 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://www.umweltbundesamt.de
--timeout <ms> per-request timeout in milliseconds (0..2147483647)
--user-agent <ua> User-Agent header value
--max-retries <n> retries for transient 429/503 responses
--max-redirects <n> HTTP redirects to follow (0 = none; default 5)
--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

luftqualitaet components

List measured components (pollutants)

luftqualitaet components [options]

Optionen

OptionBeschreibungStandard
--lang <lang> de | en
--index <index> id | code

luftqualitaet networks

List measurement networks

luftqualitaet networks [options]

Optionen

OptionBeschreibungStandard
--lang <lang> de | en
--index <index> id | code

luftqualitaet scopes

List measurement scopes

luftqualitaet scopes [options]

Optionen

OptionBeschreibungStandard
--lang <lang> de | en
--index <index> id | code

luftqualitaet station-types

List station types

luftqualitaet station-types [options]

Optionen

OptionBeschreibungStandard
--lang <lang> de | en

luftqualitaet station-settings

List station settings

luftqualitaet station-settings [options]

Optionen

OptionBeschreibungStandard
--lang <lang> de | en

luftqualitaet airquality

Air-quality index data for a station/window

luftqualitaet airquality [options]

Optionen

OptionBeschreibungStandard
--date-from <YYYY-MM-DD> erforderlich window start date
--time-from <1-24> erforderlich window start hour
--date-to <YYYY-MM-DD> erforderlich window end date
--time-to <1-24> erforderlich window end hour
--station <id> erforderlich station id

luftqualitaet measures

Raw measurements for a station/window

luftqualitaet measures [options]

Optionen

OptionBeschreibungStandard
--component <id> component id
--scope <id> scope id
--date-from <YYYY-MM-DD> erforderlich window start date
--time-from <1-24> erforderlich window start hour
--date-to <YYYY-MM-DD> erforderlich window end date
--time-to <1-24> erforderlich window end hour
--station <id> erforderlich station id

luftqualitaet annual-balances

Annual tabulations for a component and year

luftqualitaet annual-balances [options]

Optionen

OptionBeschreibungStandard
--component <id> erforderlich component id
--year <YYYY> erforderlich year (>= 2016)
--lang <lang> de | en
--index <index> id | code

luftqualitaet transgressions

Exceedances for a component and year

luftqualitaet transgressions [options]

Optionen

OptionBeschreibungStandard
--component <id> erforderlich component id
--year <YYYY> erforderlich year (>= 2016)
--lang <lang> de | en
--index <index> id | code

luftqualitaet thresholds

Thresholds for a use (airquality | measure)

luftqualitaet thresholds [options]

Optionen

OptionBeschreibungStandard
--use <use> erforderlich airquality | measure
--lang <lang> de | en
--component <id> component id
--scope <id> scope id

luftqualitaet meta

Combined metadata for a use

luftqualitaet meta [options]

Optionen

OptionBeschreibungStandard
--use <use> erforderlich airquality | measure | transgression | annualbalance | map
--lang <lang> de | en
--date-from <YYYY-MM-DD> required when use=airquality
--date-to <YYYY-MM-DD> required when use=airquality
--time-from <1-24> window start hour
--time-to <1-24> window end hour