← 返回
数据分析 Key

IDFM Journey

Query Île-de-France Mobilités (IDFM) PRIM/Navitia for Paris + suburbs public transport (Île-de-France) — place resolution, journey planning, and disruptions/...
查询IDFM PRIM/Navitia API,获取巴黎及法兰西岛地区公共交通信息——地点查询、行程规划与交通延误信息。
anthonymq
数据分析 clawhub v0.1.6 2 版本 100000 Key: 需要
★ 0
Stars
📥 2,553
下载
💾 0
安装
2
版本
#idfm#latest#transport

概述

IDFM Journey (PRIM/Navitia)

Use the bundled script to call PRIM/Navitia endpoints without extra dependencies.

Metadata

  • Author: anthonymq
  • Version: 0.1.6

Trigger phrases (examples)

  • "Itinéraire de {origine} à {destination}"
  • "Route from {origin} to {destination} in Paris / Île-de-France"
  • "Check RER/metro disruptions" / "incidents on line {line}"

Prereqs

  • Set IDFM_PRIM_API_KEY in the environment before running.

Generating an API Key

To obtain an IDFM PRIM API key:

  1. Visit https://prim.iledefrance-mobilites.fr/
  2. Create an account or log in
  3. Navigate to "Espace développeur" or the developer portal
  4. Subscribe to the "Navitia" API
  5. Your API key will be generated and displayed in your dashboard
  6. Export it in your environment: export IDFM_PRIM_API_KEY="your-key-here"

Quick commands

Run from anywhere (path is inside the skill folder):

  • Resolve places (best match + list):
  • python3 scripts/idfm.py places "Ivry-sur-Seine" --count 5
  • Journeys (free-text from/to; resolves place ids first):
  • python3 scripts/idfm.py journeys --from "Ivry-sur-Seine" --to "Boulainvilliers" --count 3
  • Incidents / disruptions (by line id or filter):
  • python3 scripts/idfm.py incidents --line-id line:IDFM:C01727
  • python3 scripts/idfm.py incidents --filter 'disruption.status=active'

Add --json to print raw API output.

Notes

  • If place resolution is ambiguous, increase --count and choose the right stop_area id.
  • For API details and examples, read: references/idfm-prim.md.

版本历史

共 2 个版本

  • v0.1.6 当前
    2026-03-28 14:17 安全 安全
  • v0.1.5
    2026-03-11 09:34

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,875
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 161 📥 59,605
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,865