Open Data Hub Cli
/install open-data-hub-cli
Open Data Hub CLI
Use odh for public Open Data Hub API work. It is JSON-first, non-interactive, and suitable for scripts and agents.
Open Data Hub is maintained by NOI Techpark. Most practical Tourism and Mobility tasks are about South Tyrol / the Autonomous Province of Bolzano, but do not claim every returned record is located there unless coordinates, location fields, origin metadata, or official docs support it.
First Checks
Run these before relying on the CLI:
odh version
odh doctor --timeout 10s
If odh is not installed in a normal shell, install the latest release:
curl -fsSL https://raw.githubusercontent.com/galjos/odh-cli/main/scripts/install.sh | sh
Or build it from source:
go build -o odh ./cmd/odh
In OpenClaw, this skill declares odh as a required binary. If OpenClaw marks the skill as needing setup, use the offered installer before trying to answer with Open Data Hub data.
When running from a source checkout, use ./odh instead of odh.
API Discovery
List known API surfaces:
odh apis
Fetch OpenAPI specs as JSON:
odh openapi mobility
odh openapi tourism
Use odh call for known endpoints rather than scraping a UI:
odh call tourism /v1/ODHActivityPoi \
--param pagenumber=1 \
--param pagesize=1 \
--param seed=42
For geographic claims, inspect returned fields. Useful examples:
- Tourism:
GpsInfo,LocationInfo,RegionInfo,MunicipalityInfo,LicenseInfo. - Mobility:
sorigin,scode,stype,scoordinate,smetadata.
Curated Commands
Tourism point of interest:
odh tourism poi --limit 1 --seed 42 --fields Detail.en.Title,GpsInfo
Mobility latest measurements:
odh mobility latest \
--station-type EChargingStation \
--data-type number-available \
--limit 5
Mobility type and data-type discovery:
odh mobility types --kind event
odh mobility datatypes --station-type TrafficSensor --origin A22 --limit 100
A22 traffic diagnostics:
odh mobility events --origin A22 --latest --limit 20
odh a22 status --limit 10
Interpretation Rules
- Parse stdout as JSON.
- Treat nonzero exit codes as failures.
- Treat stderr as diagnostics, not data.
- Prefer
odhand official OpenAPI specs over scraping Open Data Hub web pages. - Treat South Tyrol as the common regional context, not as a universal record-level guarantee.
- Verify location-sensitive answers from coordinates, origins, and metadata in the JSON.
- Do not infer live A22 traffic from
TrafficForecastrows alone. - Prefer
odh a22 statusfor A22 because it reports current-event availability and warns when forecast rows are not current incident data. - Use
--whereand--param key=valueinstead of manually constructing query strings when a curated command supports them.
Official References
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install open-data-hub-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/open-data-hub-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Open Data Hub Cli 是什么?
Use this skill when working with Open Data Hub, NOI Techpark data, ODH APIs, Tourism API, Mobility API, A22 traffic data, or when an agent should query Open... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 165 次。
如何安装 Open Data Hub Cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install open-data-hub-cli」即可一键安装,无需额外配置。
Open Data Hub Cli 是免费的吗?
是的,Open Data Hub Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Open Data Hub Cli 支持哪些平台?
Open Data Hub Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 Open Data Hub Cli?
由 Josef M. Gallmetzer(@galjos)开发并维护,当前版本 v0.1.3。