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

metra

brianleach द्वारा

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

संक्षिप्त

Chicago Metra commuter rail — real-time train arrivals, vehicle tracking, service alerts, and schedule info.

विवरण

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

Provides real-time Chicago Metra commuter rail data for all 11 lines, including train arrivals, vehicle positions, service alerts, and fare calculation. Pulls from Metra's official GTFS-RT protobuf feeds and falls back to static schedule data when live data is unavailable. Requires a free API key from Metra's developer portal.

Combines live GTFS-RT data with static schedule fallback and zone-based fare lookup in one command interface, so commuters get accurate arrival times even when real-time feeds are down.

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

  • Checking next inbound BNSF train from Naperville to Union Station
  • Getting service alerts before leaving for the Ogilvie platform
  • Calculating the fare between two Metra zones
  • Tracking where a specific UP-N train is right now
  • Looking up the Saturday schedule for Metra Electric

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

इनपुट

User asks: When is the next inbound BNSF train from Naperville?

एजेंट
  1. 1

    Run the arrivals command for Naperville station filtered to the BNSF line

  2. 2

    Fetch and parse the GTFS-RT trip update protobuf from Metra's feed

  3. 3

    Compare real-time predictions against static schedule times

  4. 4

    Check for active BNSF service alerts

  5. 5

    Format results with train number, real-time ETA, scheduled time, and any active alerts

आउटपुट

Upcoming BNSF inbound trains at Naperville showing train numbers, real-time ETAs alongside scheduled times, and any active service alerts for the line

आवश्यकताएँ

  • METRA_API_KEY — free developer API key, register at https://metra.com/developers

इंस्टॉलेशन

clawhub install brianleach/metra

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

लिंक