autobahn roads
List all motorways the API knows about (e.g. A1, A2, ...)
autobahn roads [options]Alle Befehle, Argumente und Optionen von autobahn 0.9.0, direkt aus der CLI gelesen.
Die Beschreibungen der Befehle, Argumente und Optionen stammen direkt aus der CLI und sind englisch.
Diese Optionen gelten für jeden Befehl.
| Option | Beschreibung | Standard |
|---|---|---|
-V, --version |
output the version number | |
--base-url <url> |
API base URL (env AUTOBAHN_BASE_URL); a user:password@ in it is sent as HTTP Basic auth | "https://verkehr.autobahn.de" |
--timeout <ms> |
per-request timeout in milliseconds (default 30000; 0 disables; at most 2147483647; a timed-out request is not retried) | |
--user-agent <ua> |
User-Agent header value (default: "autobahn-cli/0.9.0 (+https://github.com/maschinenlesbar-org/autobahn-cli)") | |
--max-retries <n> |
retries for transient 429/502/503/504 responses and reset connections (default 2, 0..10; waits Retry-After, else backs off — up to 3–5 min in total at 10; details in README) | |
--max-response-bytes <n> |
cap response body size in bytes (0 = unlimited; default 100 MiB) | |
--log-format <format> |
how errors, warnings and notes are written to stderr: text (log4j style: time, level, [topic], message) or jsonl (one JSON object per line: ts, level, topic, msg); default text | |
--compact |
print JSON on a single line instead of pretty-printed |
autobahn roadsList all motorways the API knows about (e.g. A1, A2, ...)
autobahn roads [options]autobahn roadworksRoadworks along a motorway
autobahn roadworks listList roadworks along a motorway (e.g. A1)
autobahn roadworks list [options] <roadId>Argumente
<roadId>
erforderlichautobahn roadworks getFetch one item's details by its identifier
autobahn roadworks get [options] <identifier>Argumente
<identifier>
erforderlichautobahn webcamsWebcams along a motorway
autobahn webcams listList webcams along a motorway (e.g. A1)
autobahn webcams list [options] <roadId>Argumente
<roadId>
erforderlichautobahn webcams getFetch one item's details by its identifier
autobahn webcams get [options] <identifier>Argumente
<identifier>
erforderlichautobahn parkingLorry parking areas along a motorway
autobahn parking listList lorry parking areas along a motorway (e.g. A1)
autobahn parking list [options] <roadId>Argumente
<roadId>
erforderlichautobahn parking getFetch one item's details by its identifier
autobahn parking get [options] <identifier>Argumente
<identifier>
erforderlichautobahn warningsTraffic warnings along a motorway
autobahn warnings listList traffic warnings along a motorway (e.g. A1)
autobahn warnings list [options] <roadId>Argumente
<roadId>
erforderlichautobahn warnings getFetch one item's details by its identifier
autobahn warnings get [options] <identifier>Argumente
<identifier>
erforderlichautobahn closuresClosures along a motorway
autobahn closures listList closures along a motorway (e.g. A1)
autobahn closures list [options] <roadId>Argumente
<roadId>
erforderlichautobahn closures getFetch one item's details by its identifier
autobahn closures get [options] <identifier>Argumente
<identifier>
erforderlichautobahn chargingElectric charging stations along a motorway
autobahn charging listList electric charging stations along a motorway (e.g. A1)
autobahn charging list [options] <roadId>Argumente
<roadId>
erforderlichautobahn charging getFetch one item's details by its identifier
autobahn charging get [options] <identifier>Argumente
<identifier>
erforderlich