reisewarnungen list
All travel warnings, keyed by content id (raw response)
reisewarnungen list [options]Every command, argument and option of reisewarnungen 0.5.1, read from the CLI itself.
These options work with every command.
| Option | Description | Default |
|---|---|---|
-V, --version |
output the version number | |
--base-url <url> |
API base URL | https://www.auswaertiges-amt.de |
--timeout <ms> |
time limit per request in milliseconds, whole response included (0 = no limit; default 30000) | |
--user-agent <ua> |
User-Agent header value (non-blank, Latin-1, no control characters) | |
--max-retries <n> |
retries for transient 429/503 responses and resets (0..10; each waits a backoff, or the server's longer Retry-After up to 30 s; see README) | |
--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) | |
--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 | |
-o, --output <file> |
write output to this file instead of stdout (- = stdout) | |
--force |
overwrite the --output file if it already exists |
reisewarnungen listAll travel warnings, keyed by content id (raw response)
reisewarnungen list [options]reisewarnungen countriesFlattened country overview (id, country, warning flags)
reisewarnungen countries [options]Options
| Option | Description | Default |
|---|---|---|
--warned-only |
only countries with a warning of any kind in force |
reisewarnungen adviceOne country's warning flags plus every sentence of its advisory that warns or advises against travel (or anything else)
reisewarnungen advice [options] <contentId>Arguments
<contentId>
requiredreisewarnungen getOne country's full travel warning (with HTML content)
reisewarnungen get [options] <contentId>Arguments
<contentId>
required