跳到正文
TakoAPI
返回技能列表

french-services

由 hugosbl 提供

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

简介

Skill pour accéder aux services français : trains SNCF, suivi.

描述

该技能的功能

Provides access to French daily services: SNCF train schedules, La Poste parcel tracking, weather forecasts via Open-Meteo, and Île-de-France public transit status. All scripts use only Python stdlib with no third-party dependencies.

Consolidates four separate French service APIs into a single skill with a consistent CLI interface and no dependency installation.

何时使用

  • Check next train departures from Paris to Lyon
  • Track a La Poste package by its tracking number
  • Get a 7-day weather forecast for any French city
  • Check if Métro 13 or RER A is running normally
  • Find the next metro at Châtelet station

示例工作流

输入

User asks: When is the next train from Paris to Marseille tomorrow morning?

智能体
  1. 1

    Identifies the request as a train search

  2. 2

    Calls sncf.py search with 'Paris' and 'Marseille' and --date and --time flags

  3. 3

    Queries the Navitia API using SNCF_API_KEY

  4. 4

    Parses the itinerary results

  5. 5

    Returns departure times and journey details in French

输出

List of available train departures from Paris to Marseille on the requested date with times and durations

前置要求

  • SNCF_API_KEY environment variable (free Navitia token from navitia.io, 5000 req/month)
  • LAPOSTE_API_KEY environment variable (free from developer.laposte.fr)
  • IDFM_API_KEY environment variable (free from prim.iledefrance-mobilites.fr)

安装

clawhub install hugosbl/french-services

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

链接