返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
s

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

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
394
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

student-rooms

# student-rooms CLI Multi-provider student accommodation finder and monitor. Query Yugo and Aparto for room availability, filter by semester and price, and get alerts when new options appear. ## Setup ```bash cd /path/to/student-rooms-cli source .venv/bin/activate ``` Config file: `config.yaml` (copy from `config.sample.yaml` if missing). Key settings: ```yaml target: country: "Ireland" city: "Dublin" academic_year: start_year: 2026 end_year: 2027 filters: max_weekly_price: 350.0 notifications: type: "openclaw" # or stdout | webhook | telegram openclaw: mode: "message" channel: "telegram" target: "CHAT_ID" ``` ## Commands All commands support `--provider yugo|aparto|all` (default: `all`) and `--json` for structured output. ### discover — List properties ```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 ``` Returns property names, slugs, locations, and URLs for the target city. ### scan — One-shot availability check ```bash # Semester 1 rooms (default filter) python -m student_rooms scan --provider all --json # All options (full year, semester 2, etc.) python -m student_rooms scan --all-options --json # Scan + send notification for top match python -m student_rooms scan --provider all --notify ``` JSON output structure: ```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" } ] } ``` ### watch — Continuous monitoring ```bash python -m student_rooms watch --provider all ``` Scans at configured interval (default 1h + random jitter). Alerts only on **new** options not previously seen. Persists seen options locally to avoid duplicate alerts. ### probe-booking — Deep booking-flow probe ```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 ``` Returns booking context, available beds, direct booking links, and portal redirect URLs. Supports `--residence`, `--room`, `--tenancy`, `--index` filters. ### notify — Test notification ```bash python -m student_rooms notify --message "Test alert 🏠" ``` ### test-match — Test semester matching logic ```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 ``` ## Location override Override config target with CLI flags: ```bash python -m student_rooms scan --city Barcelona --country Spain --provider all --json ``` ## Agent usage tips - Always use `--json` for structured output. - Use `scan --json` to check current availability; parse `matchCount` and `matches` array. - Use `discover --json` to list what properties exist before scanning. - Use `watch` as a background process for ongoing monitoring. - Combine `scan --notify` to trigger alerts in a single command. - The `dedupKey` field in scan output uniquely identifies each option for tracking. ## OpenClaw integration Set `notifications.type: "openclaw"` in config. Supports two modes: - **message**: Sends alert text via `openclaw message send` to a channel/target. - **agent**: Triggers an OpenClaw agent session with the alert as context. Optional: `create_job_on_match: true` creates a one-shot cron job for reservation assistance. The tool works fully standalone — OpenClaw is only needed if you want the `openclaw` notification backend. ## Notification backends | Backend | Config key | Requires | |---------|-----------|----------| | `stdout` | (default) | Nothing | | `webhook` | `notifications.webhook.url` | Any HTTP endpoint (Discord, Slack, ntfy.sh) | | `telegram` | `notifications.telegram.bot_token` + `chat_id` | Telegram bot | | `openclaw` | `notifications.openclaw.target` | OpenClaw CLI installed | ## Provider notes - **Yugo**: Dynamic API discovery (countries → cities → residences → rooms → tenancy options). Supports full booking-flow probing. - **Aparto**: Scrapes apartostudent.com for property discovery, then probes StarRez portal termIDs. IE/ES/IT share one portal; UK has a separate portal; France has no StarRez portal (discover-only).

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 student-rooms-1776296104 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 student-rooms-1776296104 技能

通过命令行安装

skillhub install student-rooms-1776296104

下载

⬇ 下载 student-rooms v1.1.0(免费)

文件大小: 2.88 KB | 发布时间: 2026-4-16 16:55

v1.1.0 最新 2026-4-16 16:55
v1.1.0: centralized semester detection, 80 tests, removed hardcoded paths from SKILL.md, README improvements

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部