简介
荷兰曲棍球联赛官方数据查询工具,支持俱乐部、球队、赛程及赛果检索,数据源自KNHB官方平台。
原始描述
Query Dutch field hockey match schedules and results from KNHB Match Center (hockeyweerelt.nl). Use when looking up hockey clubs, teams, upcoming matches, or...
通过你的 Agent 添加
安装目录:knhb-match-center/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: knhb-match-center
description: Query Dutch field hockey match schedules and results from KNHB Match Center (hockeyweerelt.nl). Use when looking up hockey clubs, teams, upcoming matches, or match results in the Netherlands.
KNHB Match Center
Query the Dutch Hockey Federation (KNHB) Match Center API for clubs, teams, and matches.
API Base URL
https://publicaties.hockeyweerelt.nl/mc
Endpoints
List all clubs
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq '.data[]'
https://publicaties.hockeyweerelt.nl/mc
List all clubs
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq '.data[]'
Response includes: id, name, abbreviation, city, district.name, logo, hockey_types[]
Search clubs by name or city
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq '.data[] | select(.name | test("Westland"; "i"))'
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq '.data[] | select(.city | test("Delft"; "i"))'
List teams for a club
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs/{clubId}/teams" | jq '.data[]'
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq '.data[] | select(.name | test("Westland"; "i"))'
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq '.data[] | select(.city | test("Delft"; "i"))'
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs/{clubId}/teams" | jq '.data[]'
Response includes: id, name, short_name, type (Veld/Zaal), category_group, category_name, next_match_date
Get upcoming matches for a team
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/upcoming" | jq '.data[]'
Get official (played) matches for a team
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/official" | jq '.data[]'
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/upcoming" | jq '.data[]'
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/official" | jq '.data[]'
Match response includes:
datetime— ISO 8601 format (UTC)location.city,location.street,location.descriptionhome_team.name,home_team.club_nameaway_team.name,away_team.club_namehome_score,away_score— null for upcoming matchescompetition,poule,status,field
Common Queries
Find a club and list its teams
# Find club ID
CLUB_ID=$(curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq -r '.data[] | select(.name | test("Westland"; "i")) | .id' | head -1)
# List teams
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs/${CLUB_ID}/teams" | jq -r '.data[] | "\(.id) \(.name) (\(.type)) - next: \(.next_match_date)"'
Get next match for a specific team
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/upcoming" | jq '.data[0] | {
date: .datetime,
home: .home_team.name,
away: .away_team.name,
location: .location.city,
field: .field
}'
Format match schedule nicely
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/upcoming" | jq -r '.data[] | "\(.datetime | split("T")[0]) \(.datetime | split("T")[1] | split(".")[0] | .[0:5]) - \(.home_team.name) vs \(.away_team.name) @ \(.location.city)"'
Team Categories
- Senioren: Adult teams (H1, D1, etc.)
- Junioren: U18-U21
- Jongste Jeugd: Youth teams (MO/JO prefixes)
- MO = Meisjes Onder (Girls Under)
- JO = Jongens Onder (Boys Under)
- Example: MO11 = Girls Under 11
Notes
- Datetime is in UTC — add 1 hour for Amsterdam winter time (CET), 2 hours for summer (CEST)
- Use
date command or proper date library to convert and get correct day of week
type: "Veld" = outdoor field hockey, type: "Zaal" = indoor hockey
- Teams have separate IDs for Veld and Zaal — always query both to get complete schedule
- Veld season: ~Sep-Jun (outdoor), Zaal season: ~Nov-Mar (indoor)
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/upcoming" | jq '.data[0] | {
date: .datetime,
home: .home_team.name,
away: .away_team.name,
location: .location.city,
field: .field
}'
curl -s "https://publicaties.hockeyweerelt.nl/mc/teams/{teamId}/matches/upcoming" | jq -r '.data[] | "\(.datetime | split("T")[0]) \(.datetime | split("T")[1] | split(".")[0] | .[0:5]) - \(.home_team.name) vs \(.away_team.name) @ \(.location.city)"'
Team Categories
- Senioren: Adult teams (H1, D1, etc.)
- Junioren: U18-U21
- Jongste Jeugd: Youth teams (MO/JO prefixes)
- MO = Meisjes Onder (Girls Under)
- JO = Jongens Onder (Boys Under)
- Example: MO11 = Girls Under 11
Notes
- Datetime is in UTC — add 1 hour for Amsterdam winter time (CET), 2 hours for summer (CEST)
- Use
date command or proper date library to convert and get correct day of week
type: "Veld" = outdoor field hockey, type: "Zaal" = indoor hockey
- Teams have separate IDs for Veld and Zaal — always query both to get complete schedule
- Veld season: ~Sep-Jun (outdoor), Zaal season: ~Nov-Mar (indoor)
- MO = Meisjes Onder (Girls Under)
- JO = Jongens Onder (Boys Under)
- Example: MO11 = Girls Under 11
- Datetime is in UTC — add 1 hour for Amsterdam winter time (CET), 2 hours for summer (CEST)
- Use
datecommand or proper date library to convert and get correct day of week type: "Veld"= outdoor field hockey,type: "Zaal"= indoor hockey- Teams have separate IDs for Veld and Zaal — always query both to get complete schedule
- Veld season: ~Sep-Jun (outdoor), Zaal season: ~Nov-Mar (indoor)
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。