idfm-journey
⚠Review·Scanned 2/17/2026
This skill queries Île-de-France Mobilités PRIM/Navitia to resolve places, plan journeys, and check disruptions using the bundled scripts/idfm.py. It requires IDFM_PRIM_API_KEY, instructs running python3 scripts/idfm.py ..., and makes HTTPS calls to https://prim.iledefrance-mobilites.fr/marketplace/v2/navitia.
from clawhub.ai·va9bc059·10.3 KB·0 installs
Scanned from 0.1.4 at dd0fe11 · Transparency log ↗
$ vett add clawhub.ai/anthonymq/idfm-journeyReview findings below
IDFM Journey (PRIM/Navitia)
Use the bundled script to call PRIM/Navitia endpoints without extra dependencies.
Prereqs
- Set
IDFM_PRIM_API_KEYin the environment before running.
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:C01727python3 scripts/idfm.py incidents --filter 'disruption.status=active'
Add --json to print raw API output.
Notes
- If place resolution is ambiguous, increase
--countand choose the rightstop_areaid. - For API details and examples, read:
references/idfm-prim.md.