Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

idfm-journey-navitia

bởi anthonymq

Transportation
1.2kLượt tải do clawskills.sh công bố
1Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: Plan a route from Ivry-sur-Seine to Boulainvilliers

AGENT
  1. 1

    Calls the places endpoint to resolve 'Ivry-sur-Seine' to a stop area ID

  2. 2

    Calls the places endpoint to resolve 'Boulainvilliers' to a stop area ID

  3. 3

    Queries the journeys endpoint with both resolved stop area IDs

  4. 4

    Parses the response and formats journey options with lines, departure times, and transfer details

ĐẦU RA

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-navitia

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết