idfm-journey-navitia
bởi anthonymq
TransportationTóm tắt
Query Île-de-France Mobilités (IDFM) PRIM/Navitia.
Mô tả
Kỹ năng này làm gì
Queries the Île-de-France Mobilités (IDFM) PRIM/Navitia API for transit routing in the Paris region. Resolves station and stop IDs from free-text place names, plans multi-leg journeys, and checks active disruptions on metro and RER lines. Requires an IDFM PRIM API key.
Uses the official IDFM PRIM data source, covering all Île-de-France transit modes (metro, RER, bus, tram) with real-time disruption data, rather than scraping third-party apps or relying on incomplete open datasets.
Khi nào nên dùng
- Planning a route from one Paris suburb to another
- Looking up the stop area ID for a specific metro or RER station
- Checking whether a given metro line has active incidents
- Getting multiple journey options with transfer details between two locations
- Filtering current disruptions across all Île-de-France transit lines
Quy trình ví dụ
User asks: Plan a route from Ivry-sur-Seine to Boulainvilliers
- 1
Calls the places endpoint to resolve 'Ivry-sur-Seine' to a stop area ID
- 2
Calls the places endpoint to resolve 'Boulainvilliers' to a stop area ID
- 3
Queries the journeys endpoint with both resolved stop area IDs
- 4
Parses the response and formats journey options with lines, departure times, and transfer details
Three journey options listing transit modes, departure and arrival times, and required transfers
Yêu cầu
- IDFM PRIM API key set as the IDFM_PRIM_API_KEY environment variable, obtained from the IDFM developer portal
Cài đặt
clawhub install anthonymq/idfm-journey-navitiaChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.