Search

PythonReactSEOPDF
GitHub Skill

rejseplanen

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

clawdbot☆ 230 Repository stars71 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

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)

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-30
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

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