计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
knhb-hockey【效率与协作】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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Query the Dutch Hockey Federation (KNHB) Match Center API for clubs, teams, and matches.
https://publicaties.hockeyweerelt.nl/mc
curl -s "https://publicaties.hockeyweerelt.nl/mc/clubs" | jq '.data[]'
Response includes: id, name, abbreviation, city, district.name, logo, hockey_types[]
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
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# 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)"'
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)"'
date command or proper date library to convert and get correct day of weektype: "Veld" = outdoor field hockey, type: "Zaal" = indoor hockey