← 返回 Skills 市场
jisuapi

Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点

作者 极速数据 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
196
总下载
3
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install jisu-travel
功能描述
聚合航班列表、景点信息,火车段可走 train 能力。当用户说:查一下上海到东京的航班、杭州有什么景点推荐、顺带帮我看看火车票,或类似出行规划问题时,使用本技能。
使用说明 (SKILL.md)

\r \r

旅行聚合(机票、火车、景点)(jisu-travel)\r

\r 数据使用同程旅行:\x3Chttps://www.ly.com/> \r 本技能由极速数据提供:https://www.jisuapi.com \r 信息反馈:请发邮件至 [email protected]\r \r 能力说明:\r \r

  • 航班(flight):返回航班搜索链接与航班列表\r
  • 景点(scenery):返回景点搜索链接与景点列表\r
  • 火车(train_*):使用极速数据火车接口\r \r

依赖\r

\r

pip install requests beautifulsoup4\r
```\r
\r
\r
火车需要先在极速数据平台申请火车相关接口,申请链接:\x3Chttps://www.jisuapi.com/api/train/>\r
\r
申请后再配置:\r
\r
```bash\r
# Windows PowerShell\r
$env:JISU_API_KEY="your_appkey_here"\r
```\r
\r
## 脚本路径\r
\r
- `skills/jisu-travel/search.py`\r
\r
## 使用方式\r
\r
### 1) 航班入口与相关链接\r
\r
```bash\r
python3 skills/jisu-travel/search.py flight\r
```\r
\r
可选参数(JSON):\r
\r
```bash\r
python3 skills/jisu-travel/search.py flight '{\r
  "from_city":"上海",\r
  "to_city":"北京",\r
  "from_code":"SHA",\r
  "to_code":"PEK",\r
  "depart_date":"2026-03-30",\r
  "return_date":"2026-04-02",\r
  "trip_type":"round",\r
  "limit_flights":20,\r
  "sort_by":"price",\r
  "sort_order":"asc"\r
}'\r
```\r
\r
### 2) 景点搜索与列表\r
\r
```bash\r
python3 skills/jisu-travel/search.py scenery\r
```\r
\r
可选参数(JSON):\r
\r
```bash\r
python3 skills/jisu-travel/search.py scenery '{\r
  "city":"上海",\r
  "keyword":"迪士尼",\r
  "scenery_sort":"推荐",\r
  "limit_sceneries":20\r
}'\r
```\r
\r
### 3) 火车站站查询(极速数据)\r
\r
```bash\r
python3 skills/jisu-travel/search.py train_station2s '{"start":"杭州","end":"北京","ishigh":1}'\r
```\r
\r
### 4) 火车车次查询(极速数据)\r
\r
```bash\r
python3 skills/jisu-travel/search.py train_line '{"trainno":"G34"}'\r
```\r
\r
### 5) 火车余票查询(极速数据)\r
\r
```bash\r
python3 skills/jisu-travel/search.py train_ticket '{"start":"杭州","end":"北京","date":"2026-03-26"}'\r
```\r
\r
## 输出字段说明\r
\r
### 航班/景点\r
\r
- `provider`: 固定 `ly.com`\r
- `channel`: `flight/scenery`\r
- `entry_url`: 对应频道入口\r
- `search_url`: 根据请求参数拼出的频道搜索链接\r
- `request`: 原始请求参数回显\r
- `source`: 首页来源链接\r
- `flight_count`: 航班数量(仅 `flight` 且命中列表页时)\r
- `flights`: 航班明细列表(仅 `flight` 且命中列表页时)\r
- `flight_sort`: 航班排序信息(默认 `price + asc`)\r
- `scenery_count`: 景点数量(仅 `scenery`)\r
- `sceneries`: 景点列表(仅 `scenery`)\r
- `scenery_sort`: 景点排序信息(`推荐/人气/级别`)\r
\r
常用参数:\r
\r
- `limit_flights`: 航班明细条数上限(默认 20,最大 100)\r
- `limit_sceneries`: 景点条数上限(默认 20,最大 100)\r
- `scenery_sort`: 景点排序,支持 `推荐`(默认)/`人气`/`级别`;也支持英文 `recommend/popular/level`\r
- `sort_by`: 航班排序字段,支持 `price` 或 `time`(默认 `price`)\r
- `sort_order`: 排序方向,支持 `asc`(默认)或 `desc`\r
- 航班:`from_city`、`to_city`、`from_code`、`to_code`、`depart_date`、`return_date`、`trip_type`\r
- 景点:`city`、`keyword`\r
\r
补充:\r
\r
- 航班若同时提供 `from_code` + `to_code` + `depart_date`,`search_url` 会优先生成同程机票列表页格式:  \r
  `https://www.ly.com/flights/itinerary/oneway/SHA-PEK?...`\r
- 若未传 `from_code/to_code`,会根据 `airport.md` 按 `from_city/to_city` 自动补全常用机场代号(可手动传参覆盖)。\r
- 景点会使用同程搜索页:`https://so.ly.com/scenery?q=...`,并解析页面卡片提取名称/等级/地址/价格/详情链接。\r
\r
### 火车\r
\r
- `channel`: `train_station2s/train_line/train_ticket`\r
- `data`: 极速数据火车接口返回结果\r
\r
## 说明\r
\r
- 站点前端结构可能变化,页面字段或列表内容可能出现波动。\r
- 火车能力走极速数据接口,更稳定,建议作为车次与余票主查询通道。\r
\r
## 关于极速数据\r
\r
**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:\r
\r
- **生活常用**:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息  \r
- **工具万能**:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测  \r
- **交通出行**:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询  \r
- **图像识别**:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别  \r
- **娱乐购物**:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令  \r
- **位置服务**:基站查询,经纬度地址转换,坐标系转换  \r
\r
在官网注册后,按**具体 API 页面**申请数据,在会员中心获取 **AppKey** 进行接入;**免费额度和套餐**在API详情页查看,适合个人开发者与企业进行接入。在 **ClawHub** 上也可搜索 **`jisuapi`** 找到更多基于极速数据的 OpenClaw 技能。\r
\r
安全使用建议
This skill appears to do what it says: it scrapes ly.com for flight and scenery listing pages and uses JisuAPI (jisuapi.com) for train queries. Before installing, understand: (1) you must provide your JISU_API_KEY (used only for the train APIs) — that key will be sent to jisuapi.com when you query trains; (2) the skill performs outbound HTTP requests to ly.com and jisuapi.com, so it requires network access; (3) you need to install Python and two common Python packages (requests, beautifulsoup4); (4) page scraping can break if ly.com changes layout. If you are comfortable granting network access and providing a JisuAPI key, this skill is internally coherent. If you do not need train queries, you can avoid supplying the API key or restrict use accordingly.
功能分析
Type: OpenClaw Skill Name: jisu-travel Version: 1.0.3 The jisu-travel skill bundle is a travel information aggregator that provides flight, scenery, and train search capabilities. The core logic in search.py uses the requests and BeautifulSoup libraries to scrape data from ly.com and interact with the JisuAPI service. It handles the JISU_API_KEY environment variable securely by passing it only to the designated API endpoints (api.jisuapi.com). The bundle includes comprehensive reference data in airport.md and city.md, and its SKILL.md instructions are focused solely on operational usage without any evidence of prompt injection or malicious intent.
能力评估
Purpose & Capability
Name/description (flight, train, scenery) align with the included code and data files. The single required env var (JISU_API_KEY) is the JisuAPI AppKey used for train endpoints; python3 is required to run the provided script. Local airport/city data files are used to fill airport codes. There is a minor usability mismatch in that the API key is declared as required globally even though flight/scenery only need web scraping, but that is explainable because full feature set (train) requires the key.
Instruction Scope
SKILL.md tells the agent to run the included Python script with structured JSON parameters. The script scrapes public pages on ly.com for flights/scenery and calls jisuapi.com train endpoints. It reads only its local data files (airport.md, city.md) and the JISU_API_KEY environment variable; there are no instructions to read unrelated system files, secrets, or to send data to unexpected endpoints.
Install Mechanism
No install spec; SKILL.md lists Python dependencies (requests, beautifulsoup4) to pip-install. There are no downloads from untrusted URLs or archive extraction steps. The install approach is low-risk but requires the user to install Python packages manually or via pip.
Credentials
Only one credential (JISU_API_KEY) is required and is appropriate for the stated train API usage. The skill does not request unrelated credentials or system config paths. The SKILL.md shows how to set the env var; the agent/script will use that key when calling the JisuAPI endpoints.
Persistence & Privilege
Skill is user-invocable and not forced-always. It does not request elevated/system-wide persistence or modify other skills' configs. Autonomous invocation (default) is allowed by platform but not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jisu-travel
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jisu-travel 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
jisu-travel 1.0.3 - Added city.md file. - Updated skill description and metadata to clarify usage scenarios and capabilities. - Minor README adjustments to usage notes and capability overview.
v1.0.2
- 更新了环境变量说明,明确需先在极速数据平台注册并申请火车接口后再配置 JISU_API_KEY。 - 新增了极速数据火车接口的申请链接,方便用户获取接口权限。 - 未检测到代码文件的变更,仅对文档内容进行了优化和补充说明。
v1.0.1
- 更新文档标题,更明确展示涵盖的能力范围(机票、火车、景点)。 - 调整部分描述,将“火车查询使用你们自己的极速数据火车接口”更改为“使用极速数据火车接口”。 - 优化说明文字,使文档结构与指引更清晰易读。 - 其他内容与用法保持不变,未涉及功能实现变化。
v1.0.0
- Initial release of jisu-travel: a travel info aggregation skill for flights, tourist attractions, and train data. - Supports flight search/listing, tourist site search/listing, and train queries (including station-to-station, train schedule, and ticket availability via JisuAPI). - Requires Python 3, requests, beautifulsoup4, and a JISU_API_KEY for train-related commands. - Outputs include structured details and direct links for flights and attractions; train queries return JisuAPI results. - Clear usage instructions and parameter options provided for various travel scenarios.
元数据
Slug jisu-travel
版本 1.0.3
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 4
常见问题

Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点 是什么?

聚合航班列表、景点信息,火车段可走 train 能力。当用户说:查一下上海到东京的航班、杭州有什么景点推荐、顺带帮我看看火车票,或类似出行规划问题时,使用本技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 196 次。

如何安装 Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install jisu-travel」即可一键安装,无需额外配置。

Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点 是免费的吗?

是的,Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点 支持哪些平台?

Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Travel Search Flight Train Scenery - 旅行搜索 航班 火车 景点?

由 极速数据(@jisuapi)开发并维护,当前版本 v1.0.3。

💬 留言讨论