idfm-journey-navitia
anthonymq 作
Transportation概要
Query Île-de-France Mobilités (IDFM) PRIM/Navitia.
説明
このスキルでできること
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.
使いどころ
- 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
ワークフロー例
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
要件
- IDFM PRIM API key set as the IDFM_PRIM_API_KEY environment variable, obtained from the IDFM developer portal
インストール
clawhub install anthonymq/idfm-journey-navitiaCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。