Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки