कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

irail

dedene द्वारा

DevOps & Cloud
447clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Query Belgian railway (NMBS/SNCB) schedules via the irail CLI.

विवरण

यह स्किल क्या करती है

Command-line interface for querying Belgian railway (NMBS/SNCB) data via the public iRail API. Covers departures, arrivals, connections, train compositions, and service disruptions. No account or API key required.

The iRail API is free and unauthenticated, so this CLI gives immediate access to live Belgian rail data without browser navigation or app installs.

इसे कब इस्तेमाल करें

  • Checking next train departure from Brugge before leaving home
  • Planning a route from Ghent to Leuven with transfer options
  • Verifying which platform a train departs from
  • Checking current disruptions before a morning commute
  • Scripting delay alerts by piping JSON output through jq

उदाहरण वर्कफ़्लो

इनपुट

User asks: What are the next trains from Brugge to Leuven, and are any delayed?

एजेंट
  1. 1

    Run irail connections Brugge Leuven --json to fetch upcoming connections

  2. 2

    Parse JSON output with jq to extract departure times and delay values

  3. 3

    Run irail liveboard Brugge --json to check platform assignments and delays

  4. 4

    Filter results where delay > 0 to identify affected trains

  5. 5

    Format and return a summary of next departures with delay status

आउटपुट

List of upcoming Brugge–Leuven connections with departure times, transfer count, and any current delays in minutes

इंस्टॉलेशन

clawhub install dedene/irail

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक