Xpersona
T

Tpvl

CLAWHUB · Unverified

TPVL (Taiwan Professional Volleyball League) stats, scores, schedules, and standings for Taiwan's pro volleyball. Skill: Tpvl Owner: ichendong Summary: TPVL (Taiwan Professional Volleyball League) stats, scores, schedules, and standings for Taiwan's pro volleyball. Tags: latest:1.1.3 Version history: v1.1.3 | 2026-06-04T18:26:01.506Z | user Fixed clawhub.link URL format (canonical ClawHub URL) v1.1.2 | 2026-06-04T18:12:58.667Z | user Added clawhub.link metadata to SKILL.md v1.1.1 | 2026-05-23T13:40:46.267Z | user fix: tpvl_games

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17eqyg6ss9nsqf9d09fs717w983hsyn:tpvl
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ichendong-tpvl/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

68,485 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: tpvl
description: "TPVL (Taiwan Professional Volleyball League) stats, scores, schedules, and standings for Taiwan's pro volleyball."
tags: ["tpvl", "volleyball", "taiwan", "sports", "scores"]
metadata:
  openclaw:
    clawhub:
      link: https://clawhub.ai/ichendong/tpvl
---

# TPVL Skill - 台灣職業排球聯盟資訊查詢 🏐

Query TPVL game results, schedules, and standings for the Taiwan Professional Volleyball League.

## Data Sources

| Source | Description |
|--------|-------------|
| TPVL official website | Game results, schedule, standings via `__NEXT_DATA__` SSR JSON |

**Note:** TPVL's `/api/*` endpoints require authentication (401). All data is extracted from server-side rendered `__NEXT_DATA__` JSON embedded in page HTML.

- Homepage (`/`): Recent 5 completed + 5 upcoming matches + rankings
- Schedule page (`/schedule/schedule`): All completed match data (82+ games)
- Record page (`/record`): Full team standings with detailed stats

## Teams (2025-26 Season)

| Team | English |
|------|---------|
| 臺中連莊 | Taichung Winstreak |
| 台鋼天鷹 | TSG SkyHawks |
| 臺北伊斯特 | Taipei East Power |
| 桃園雲豹飛將 | Taoyuan Leopards |

## Features

| Feature | Script | Source | Status |
|---------|--------|--------|--------|
| Game results | `tpvl_games.py` | TPVL `/schedule/schedule` page | ✅ |
| Schedule | `tpvl_schedule.py` | TPVL homepage + schedule page | ✅ |
| Standings | `tpvl_standings.py` | TPVL `/record` page | ✅ |
| Player stats | `tpvl_stats.py` | Auto-detects TPVL pages | 🔄 Auto-detect |

## Game Type Codes

目前 TPVL 官網僅有單一賽事類型(例行賽),資料結構中只有一組 `seasonId`/`divisionId`/`poolId`:
- **seasonId**: 171
- **divisionId**: 272
- **poolId**: 443
- **round**: 3 ~ 5(巡迴賽輪次)

沒有明確的例行賽/季後賽/總冠軍賽區分。官網也沒有對應的篩選 UI。若未來球季加入季後賽,將新增 `--kind` 參數支援。

## Player Stats

`tpvl_stats.py` 會自動偵測 TPVL 官網球員數據頁面是否可用(路由 `/results/player-introduction`、`/results/competition-data`)。若頁面已開放,將自動取得實際數據;若仍為 404 則回傳空資料。

## Quick Start

All scripts use `uv run` for dependency management.

### Game Results

```bash
uv run scripts/tpvl_games.py --limit 10
uv run scripts/tpvl_games.py --date 2026-03-22
uv run scripts/tpvl_games.py --team 台鋼 --limit 5
uv run scripts/tpvl_games.py --year 2025
```

### Schedule

```bash
uv run scripts/tpvl_schedule.py
uv run scripts/tpvl_schedule.py --date 2026-03-28
uv run scripts/tpvl_schedule.py --team 連莊
uv run scripts/tpvl_schedule.py --all --limit 20
```

### Standings

```bash
uv run scripts/tpvl_standings.py
uv run scripts/tpvl_standings.py --output text
```

### Player Stats (⚠️ Coming Soon)

```bash
uv run scripts/tpvl_stats.py --category 得分 --top 20 --output text
uv run scripts/tpvl_stats.py --team 台鋼 --category 攔網
```

## Dependencies

Auto-installed via `uv`:
- `requests` — HTTP requests
- `beautifulsoup4` — HTML parsing (reserved for future scraping needs)
- `lxml` — Fast parser

## Notes

- Data source: TPVL official website (tpvl.tw)
- Data cached for 30 minutes in `/tmp/tpvl_cache/`
- Team name filtering supports aliases (e.g., `台鋼`, `連莊`, `伊斯特`, `桃園`)
- Fo

README.md

# TPVL Skill - 台灣職業排球聯盟資訊查詢 🏐

OpenClaw skill for querying Taiwan Professional Volleyball League (TPVL) game results, schedules, standings, and player data.

## Features

- 🏐 Game results with scores and set counts
- 📅 Schedule query (upcoming and past)
- 🏆 Standings (wins, losses, win rate, set records)
- 📊 Player stats (placeholder - TPVL website not yet available)

## Data Source

TPVL official website ([tpvl.tw](https://tpvl.tw/)) via `__NEXT_DATA__` SSR JSON.
No API key required.

## Quick Start

```bash
# Game results
uv run scripts/tpvl_games.py --limit 10
uv run scripts/tpvl_games.py --team 台中 --output text

# Schedule
uv run scripts/tpvl_schedule.py --limit 5
uv run scripts/tpvl_schedule.py --team 桃園 --output text

# Standings
uv run scripts/tpvl_standings.py
uv run scripts/tpvl_standings.py --output text

# Player stats (placeholder)
uv run scripts/tpvl_stats.py --top 10
```

## Installation

```bash
clawhub install tpvl
```

## Teams

| Team | Chinese | Home City |
|------|---------|-----------|
| Taichung WinStreak | 臺中連莊 | 臺中市 |
| TSG SkyHawks | 台鋼天鷹 | 臺南市/高雄市 |
| Taipei East Power | 臺北伊斯特 | 臺北市 |
| Taoyuan Leopards | 桃園雲豹飛將 | 桃園市 |

## License

For learning and personal use only. Data sourced from TPVL official website.

_meta.json

{
  "ownerId": "kn74yvh464mxtptw5ttwt8shm180bcvd",
  "slug": "tpvl",
  "version": "1.1.3",
  "publishedAt": 1780597561506
}

references/api-discovery.md

# TPVL API 調查報告

## 調查日期: 2026-03-23

## 官網資訊
- URL: https://tpvl.tw/
- 技術棧: Next.js (Pages Router) + i18n
- 託管: 可能在 Vercel 或自建
- 開發商: VNEMEX(從 meta author 欄位)

## API 調查結果

### 1. `/api/*` 端點
- `/api`, `/api/schedule`, `/api/match`, `/api/ranking` 均回傳 **401 Unauthorized**
- API 存在但需要認證 token(可能是 Bearer token)
- 目前無法取得公開 API 存取權

### 2. `__NEXT_DATA__` 伺服器端渲染資料(主要資料來源)
Next.js 將初始資料嵌入 HTML 的 `<script id="__NEXT_DATA__">` 標籤中,格式為 JSON。

#### 首頁 (`/`)
| Key | 說明 | 資料筆數 |
|-----|------|---------|
| `scheduleMatches` | 即將進行的比賽 | 5 場 |
| `completedMatches` | 最近完成的比賽 | 5 場 |
| `rankingsData` | 球隊戰績排名 | 4 隊 |
| `announcements` | 聯盟公告 | 5 則 |
| `liveMatches` | 正在進行的比賽 | 動態 |

#### 戰績頁 (`/record`)
| Key | 說明 |
|-----|------|
| `resRankingsData.teams_record[]` | 完整戰績:勝敗、勝率、局數、得分、得失分率等 |

#### 賽程頁 (`/schedule/schedule`)
| Key | 說明 |
|-----|------|
| `resultMatchData.data[]` | 所有已完成比賽(82 場) |
| `resultMatchData.total` | 總場次 |
| `liveMatches` | 即時比賽 |
| `squads` | 球隊基本資料 |

### 3. 比賽資料結構 (squadMatchResults)
每場比賽包含:
- `id`, `status` (COMPLETED / NOT_STARTED / LIVE)
- `matchedAt` (UTC ISO 8601)
- `venue` (場館)
- `homeSquadId`, `awaySquadId`
- `squadMatchResults[]` → `wonRounds`, `lostRounds`, `wonScore`, `lostScore`

### 4. 戰績資料結構 (teams_record)
每隊包含:
- `name`, `matchesPlayed`, `wins`, `losses`
- `winRate`, `points`
- `score_3_0`, `score_3_1`, `score_3_2`, `score_0_3`, `score_1_3`, `score_2_3`
- `setsWon`, `setsLost`, `setWinRate`
- `pointsFor`, `pointsAgainst`, `pointsRatio`

## 球隊資訊 (2025-26 賽季)

| ID | 中文名 | 英文名 |
|----|--------|--------|
| 11380 | 臺中連莊 | Taichung Winstreak |
| 11382 | 台鋼天鷹 | TSG SkyHawks |
| 11383 | 臺北伊斯特 | Taipei East Power |
| 11381 | 桃園雲豹飛將 | Taoyuan Leopards |

## 賽季資訊
- 2025-26 賽季:約 2025/10 - 2026/05
- leagueId: 23, seasonId: 171, eventId: 419

## 結論
- **無公開 API**,需認證才能存取
- **主要資料來源**: 從頁面 HTML 中提取 `__NEXT_DATA__` JSON
- 首頁提供最新 5 場已完賽 + 5 場未來賽程 + 戰績
- 賽程頁提供所有已完成比賽
- 未來賽程的完整列表可能需要透過頁面滾動載入(分頁 API,需要進一步調查)

skill-card.md

## Description:

TPVL (Taiwan Professional Volleyball League) stats, scores, schedules, and standings for Taiwan's pro volleyball.

This skill is ready for commercial/non-commercial use.

## Publisher:

[ichendong](https://clawhub.ai/user/ichendong)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and sports-information agents use this skill to answer questions about Taiwan Professional Volleyball League scores, schedules, standings, and player statistics from public TPVL website data.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Runtime dependency resolution may install current package versions when the scripts are run with uv.

Mitigation: Run in a normal user environment and review resolved dependencies or add pins or a lock file before controlled deployment.

Risk: Cached TPVL data in /tmp/tpvl_cache can be stale or exposed on shared systems.

Mitigation: Treat cached results as non-authoritative, clear the cache when freshness matters, and avoid shared /tmp exposure to untrusted users.

Risk: The skill depends on public TPVL website pages and extracted Next.js page data that may change or become unavailable.

Mitigation: Verify important sports results against TPVL directly and monitor for page-structure changes before relying on automation.

## Reference(s):

- [TPVL Official Website](https://tpvl.tw/)
- [TPVL API Discovery](references/api-discovery.md)
- [ClawHub Skill Page](https://clawhub.ai/ichendong/skills/tpvl)
- [ClawHub Metadata Link](https://clawhub.ai/ichendong/tpvl)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, guidance]

**Output Format:** [Markdown with JSON or plain-text command output examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce shell commands that run bundled TPVL lookup scripts and return current public sports data.]

## Skill Version(s):

1.1.3 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Tpvl and adjacent AI workflows.