跳到正文
TakoAPI
返回技能列表

idfm-journey-navitia

由 anthonymq 提供

Transportation
1.2k下载量由 clawskills.sh 提供
1星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

输出

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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接