Befehle

Alle Befehle, Argumente und Optionen von autobahn 0.0.8, 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://verkehr.autobahn.de
--timeout <ms> per-request timeout in milliseconds (0 disables; at most 2147483647)
--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

autobahn roads

List all motorways the API knows about (e.g. A1, A2, ...)

autobahn roads [options]

autobahn roadworks

Roadworks along a motorway

autobahn roadworks list

List roadworks along a motorway (e.g. A1)

autobahn roadworks list [options] <roadId>

Argumente

<roadId> erforderlich

autobahn roadworks get

Fetch one item's details by its identifier

autobahn roadworks get [options] <identifier>

Argumente

<identifier> erforderlich

autobahn webcams

Webcams along a motorway

autobahn webcams list

List webcams along a motorway (e.g. A1)

autobahn webcams list [options] <roadId>

Argumente

<roadId> erforderlich

autobahn webcams get

Fetch one item's details by its identifier

autobahn webcams get [options] <identifier>

Argumente

<identifier> erforderlich

autobahn parking

Lorry parking areas along a motorway

autobahn parking list

List parking along a motorway (e.g. A1)

autobahn parking list [options] <roadId>

Argumente

<roadId> erforderlich

autobahn parking get

Fetch one item's details by its identifier

autobahn parking get [options] <identifier>

Argumente

<identifier> erforderlich

autobahn warnings

Traffic warnings along a motorway

autobahn warnings list

List warnings along a motorway (e.g. A1)

autobahn warnings list [options] <roadId>

Argumente

<roadId> erforderlich

autobahn warnings get

Fetch one item's details by its identifier

autobahn warnings get [options] <identifier>

Argumente

<identifier> erforderlich

autobahn closures

Closures along a motorway

autobahn closures list

List closures along a motorway (e.g. A1)

autobahn closures list [options] <roadId>

Argumente

<roadId> erforderlich

autobahn closures get

Fetch one item's details by its identifier

autobahn closures get [options] <identifier>

Argumente

<identifier> erforderlich

autobahn charging

Electric charging stations along a motorway

autobahn charging list

List charging along a motorway (e.g. A1)

autobahn charging list [options] <roadId>

Argumente

<roadId> erforderlich

autobahn charging get

Fetch one item's details by its identifier

autobahn charging get [options] <identifier>

Argumente

<identifier> erforderlich