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

translink-cli

alanburchill द्वारा

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

संक्षिप्त

Query, troubleshoot, and explain Translink SEQ GTFS static + realtime data using local translink_* commands.

विवरण

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

Provides shell commands and slash commands for querying Translink South East Queensland GTFS transit data. Covers static schedule lookups, realtime vehicle and trip status, service alerts, and relational joins across stops, routes, trips, and calendar data. Data is cached locally with a 24-hour TTL and daily auto-refresh.

Combines static GTFS schedule data with realtime feeds under a single command surface with consistent filtering, pagination, and PK/FK join support across all transit entity types.

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

  • Look up scheduled departures from a specific stop
  • Check realtime vehicle position for an active trip
  • Find all stops along a given route
  • Review current service alerts affecting a route
  • Join trip, stop, and calendar data to diagnose a missed connection

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

इनपुट

User asks: What buses are scheduled at stop 000340 in the next 30 minutes?

एजेंट
  1. 1

    Run translink_schedule_refresh to confirm cache is current

  2. 2

    Query translink_stops with --where stop_id=000340 to verify the stop exists

  3. 3

    Query translink_stop_times with --where stop_id=000340 to retrieve scheduled arrivals

  4. 4

    Filter results to the current time window using --where or --per-page

  5. 5

    Join with translink_trips and translink_routes to show route name and headsign

आउटपुट

Paginated table of upcoming departures at stop 000340 with route short name, headsign, and scheduled arrival times

आवश्यकताएँ

  • Translink CLI scripts installed and available in PATH (https://github.com/alanburchill/traslink-cli-scripts)

इंस्टॉलेशन

clawhub install alanburchill/translink-cli

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

लिंक