返回顶部
i

irail-cliirail命令行

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
695
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

irail-cli

irail-cli

CLI for Belgian railways (NMBS/SNCB) via iRail API. No authentication required.

Quick Start

CODEBLOCK0

Authentication

None required. iRail API is public and free to use.

Core Rules

  1. 1. Always use --json when parsing output programmatically
  2. Station names are flexible - accepts partial matches, quotes for multi-word
  3. Time format - HH:MM (24-hour), date format YYYY-MM-DD
  4. Language options - nl, fr, en, de (default: nl)

Output Formats

FlagFormatUse case
(default)TableUser-facing with colors
INLINECODE1
JSON | Agent parsing, scripting |

Colors indicate: red = delays, yellow = platform changes.

Workflows

Liveboard (Departures/Arrivals)

CODEBLOCK1

Connections (Route Planning)

CODEBLOCK2

Stations

CODEBLOCK3

Vehicle (Train Info)

CODEBLOCK4

Composition (Train Cars)

CODEBLOCK5

Disturbances

CODEBLOCK6

Scripting Examples

CODEBLOCK7

Environment Variables

VariableDescription
INLINECODE2Default language (nl, fr, en, de)
INLINECODE3
Default to JSON output | | NO_COLOR | Disable colored output |

Language Options

CodeLanguage
INLINECODE5Dutch (default)
INLINECODE6
French | | en | English | | de | German |

CODEBLOCK8

Command Reference

CommandDescription
INLINECODE9Station departures/arrivals
INLINECODE10
Route planning between stations | | stations | List/search stations | | vehicle | Train information and stops | | composition | Train car composition | | disturbances | Service disruptions | | completion | Shell completions |

Common Patterns

Check if train is delayed

CODEBLOCK9

Get connection with transfers

CODEBLOCK10

Find direct trains only

CODEBLOCK11

Guidelines

  • - No authentication needed - API is public
  • Be mindful of API usage in loops - add delays between requests
  • Station names are case-insensitive and support partial matching
  • Delay values are in seconds (divide by 60 for minutes)

Installation

CODEBLOCK12

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 irail-1776420060 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 irail-1776420060 技能

通过命令行安装

skillhub install irail-1776420060

下载

⬇ 下载 irail-cli v1.0.1(免费)

文件大小: 2.44 KB | 发布时间: 2026-4-17 20:22

v1.0.1 最新 2026-4-17 20:22
- Added license, homepage, and author metadata to SKILL.md.
- Introduced explicit version ("1.1.0") in the metadata block.
- Declared OpenClaw requirements for binaries and installation methods (brew and go).
- Appended an Installation section with brew instructions at the end of SKILL.md.
- No changes made to CLI usage, workflows, or command documentation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部