技能标识:student-rooms
Search, scan, and monitor student accommodation availability across Yugo and Aparto providers. Use when the user asks about student housing, room availability, semester accommodation, booking options, or price comparisons in any supported city. Covers Yugo (11 countries, 70+ cities including UK, Ireland, Spain, Germany, France, Italy, Portugal, Austria, Australia, USA, UAE) and Aparto (14 cities across Ireland, Spain, Italy, UK, France). Supports semester filtering, continuous watch mode with al
多供应商学生住宿查找与监控工具。查询Yugo和Aparto的房源可用性,按学期和价格筛选,并在新选项出现时发送提醒。
bash
cd /path/to/student-rooms-cli
source .venv/bin/activate
配置文件:config.yaml(如缺失,从config.sample.yaml复制)。关键设置:
yaml
target:
country: Ireland
city: Dublin
academic_year:
start_year: 2026
end_year: 2027
filters:
maxweeklyprice: 350.0
notifications:
type: openclaw # 或 stdout | webhook | telegram
openclaw:
mode: message
channel: telegram
target: CHAT_ID
所有命令支持 --provider yugo|aparto|all(默认:all)和 --json 参数以输出结构化数据。
bash
python -m student_rooms discover --provider all
python -m student_rooms discover --provider all --json
python -m student_rooms discover --city Barcelona --provider aparto --json
返回目标城市的房源名称、slug、位置和URL。
bash
JSON输出结构:
json
{
matchCount: 5,
matches: [
{
provider: yugo,
property: Residence Name,
roomType: Gold Ensuite,
priceWeekly: 310.0,
priceLabel: €310/week,
available: true,
bookingUrl: https://...,
startDate: 2026-09-01,
endDate: 2027-01-31,
optionName: Semester 1,
dedupKey: yugo|slug|gold ensuite|2026-27|Semester 1
}
]
}
bash
python -m student_rooms watch --provider all
按配置间隔扫描(默认1小时+随机抖动)。仅对新出现的选项发送提醒。本地持久化已见选项以避免重复提醒。
bash
python -m student_rooms probe-booking --provider yugo --residence Dominick Place --json
python -m student_rooms probe-booking --provider aparto --residence Binary Hub --json
返回预订上下文、可用床位、直接预订链接和门户重定向URL。支持 --residence、--room、--tenancy、--index 筛选参数。
bash
python -m student_rooms notify --message Test alert 🏠
bash
python -m student_rooms test-match --from-year 2026 --to-year 2027 --name Semester 1 --start-date 2026-09-01 --end-date 2027-01-31 --json
使用CLI参数覆盖配置中的目标位置:
bash
python -m student_rooms scan --city Barcelona --country Spain --provider all --json
在配置中设置 notifications.type: openclaw。支持两种模式:
可选:createjobon_match: true 创建一次性cron作业以协助预订。
该工具完全独立运行——仅当需要 openclaw 通知后端时才需要OpenClaw。
| 后端 | 配置键 | 要求 |
|---|---|---|
| stdout | (默认) | 无 |
| webhook |
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 student-rooms-1776296104 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 student-rooms-1776296104 技能
skillhub install student-rooms-1776296104
文件大小: 2.88 KB | 发布时间: 2026-4-16 16:55