reisewarnungen list
All travel warnings, keyed by content id (raw response)
reisewarnungen list [options]Every command, argument and option of reisewarnungen 0.0.8, 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 | |
--user-agent <ua> |
User-Agent header value | |
--max-retries <n> |
retries for transient 429/503 responses | |
--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) | |
--compact |
print JSON on a single line instead of pretty-printed | |
-o, --output <file> |
write output to this file instead of 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 getOne country's full travel warning (with HTML content)
reisewarnungen get [options] <contentId>Arguments
<contentId>
required