Commands

Every command, argument and option of strahlenschutz 0.0.7, read from the CLI itself.

Global options

These options work with every command.

OptionDescriptionDefault
-V, --version output the version number
--base-url <url> API base URL https://www.imis.bfs.de
--timeout <ms> time limit per request in milliseconds, whole response included
--user-agent <ua> User-Agent header value
--max-retries <n> retries for transient 429/503 responses
--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

strahlenschutz latest

Latest ambient gamma dose-rate (ODL) reading per station

strahlenschutz latest [options]

Options

OptionDescriptionDefault
--station <kenn> restrict to one station by its kenn id
--max <n> max features to return
--start <n> offset for paging
--sort <prop> sort by a property (append " D" for descending, e.g. "end_measure D")

strahlenschutz station

Latest reading for a single station by its kenn id

strahlenschutz station [options] <kenn>

Arguments

<kenn> required

strahlenschutz timeseries

Time series for a station (hourly by default)

strahlenschutz timeseries [options] <kenn>

Arguments

<kenn> required

Options

OptionDescriptionDefault
--resolution <res> ts-1h | ts-24h ts-1h
--max <n> max features to return
--start <n> offset for paging
--sort <prop> sort by a property (append " D" for descending, e.g. "end_measure D")