bvg-route
由 jaysonsantos 提供
Transportation简介
Route planning for Berlin public transport (BVG)
描述
该技能的功能
Provides public transport directions in Berlin using the v6.bvg.transport.rest API. Handles route planning between stops or addresses, next-departure lookups, and arrive-by or depart-at journey queries. Returns ranked options with step-by-step instructions and real-time refresh tokens.
Uses BVG's official REST API directly, so results reflect real-time schedules and live delays rather than static timetable data.
何时使用
- Getting from a Berlin address to a specific U-Bahn station
- Checking next departures from a nearby stop
- Planning a journey that arrives by a set time
- Comparing route options by transfers vs walking time
- Getting live delay updates for an in-progress trip
示例工作流
User asks: How do I get from Invalidenstraße 43 to Leibnizstraße 62 by public transport?
- 1
Calls GET /locations to resolve both addresses into stop IDs or address objects
- 2
Extracts base IBNR codes from stop results
- 3
Calls GET /journeys with from, to, and results=3, stopovers=true
- 4
Ranks top 2-3 options by travel time, transfers, and walking distance
- 5
Returns step-by-step directions with departure times, line names, platforms, and estimated arrival
Three journey options listed with total time, transfer count, and walking time; the fastest option shown with full step-by-step instructions and a refreshToken for live updates
安装
clawhub install jaysonsantos/bvg-route运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。