Commands

Every command, argument and option of autobahn 0.0.8, 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://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>

Arguments

<roadId> required

autobahn roadworks get

Fetch one item's details by its identifier

autobahn roadworks get [options] <identifier>

Arguments

<identifier> required

autobahn webcams

Webcams along a motorway

autobahn webcams list

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

autobahn webcams list [options] <roadId>

Arguments

<roadId> required

autobahn webcams get

Fetch one item's details by its identifier

autobahn webcams get [options] <identifier>

Arguments

<identifier> required

autobahn parking

Lorry parking areas along a motorway

autobahn parking list

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

autobahn parking list [options] <roadId>

Arguments

<roadId> required

autobahn parking get

Fetch one item's details by its identifier

autobahn parking get [options] <identifier>

Arguments

<identifier> required

autobahn warnings

Traffic warnings along a motorway

autobahn warnings list

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

autobahn warnings list [options] <roadId>

Arguments

<roadId> required

autobahn warnings get

Fetch one item's details by its identifier

autobahn warnings get [options] <identifier>

Arguments

<identifier> required

autobahn closures

Closures along a motorway

autobahn closures list

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

autobahn closures list [options] <roadId>

Arguments

<roadId> required

autobahn closures get

Fetch one item's details by its identifier

autobahn closures get [options] <identifier>

Arguments

<identifier> required

autobahn charging

Electric charging stations along a motorway

autobahn charging list

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

autobahn charging list [options] <roadId>

Arguments

<roadId> required

autobahn charging get

Fetch one item's details by its identifier

autobahn charging get [options] <identifier>

Arguments

<identifier> required