搜索

PythonReactSEOPDF
GitHub Skill

rejseplanen

Query Danish public transport departures, arrivals, and journey planning via Rejseplanen API

clawdbot☆ 230 仓库 Stars71 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Rejseplanen - Danish Public Transport

Query real-time train and bus departures, arrivals, and plan journeys via the Rejseplanen API.

Commands

Search for stations
node {baseDir}/dist/rejseplanen.js search "København"
Departures
node {baseDir}/dist/rejseplanen.js departures Odense
node {baseDir}/dist/rejseplanen.js departures Odense --trains
node {baseDir}/dist/rejseplanen.js departures Odense --trains --to Aalborg
Arrivals
node {baseDir}/dist/rejseplanen.js arrivals Aalborg
node {baseDir}/dist/rejseplanen.js arrivals Aalborg --trains --from Odense
Trip planning
node {baseDir}/dist/rejseplanen.js trip Odense Aalborg
node {baseDir}/dist/rejseplanen.js trip Odense "Aalborg Vestby" --time 07:00
Journey details

Show all stops for a specific train:

node {baseDir}/dist/rejseplanen.js journey Odense 75

Options

  • --trains - Show only trains
  • --buses - Show only buses
  • --to <station> - Filter departures by destination
  • --from <station> - Filter arrivals by origin
  • --time HH:MM - Departures after specified time
  • --output json|text - Output format (default: text)
  • --json - Shorthand for --output json

JSON output

For programmatic parsing, use --json:

node {baseDir}/dist/rejseplanen.js departures Odense --json

Tips

  • Use search to find station IDs, then store frequently used ones for faster lookups
  • Station IDs can be used directly instead of names (e.g., 008600512 for Odense)

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-30
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!