sports-calendar
收藏资源简介:
Sports Calendar Feeds 是一个提供可订阅的体育赛事日历源的数据集,覆盖 MLB(美国职业棒球大联盟)、NHL(国家冰球联盟)、NFL(国家橄榄球联盟)和英超联赛(Premier League)。每个赛事事件在日历中显示为“空闲”状态(TRANSP:TRANSPARENT),不会占用用户的时间段。比赛结束后,事件标题会自动更新为最终比分(例如:⚾ Final: Yankees 5 – Braves 4)。事件使用稳定的 UID,每次刷新时原地更新,不会产生重复。日历数据由自动化任务每日从 ESPN 的公开比分板 API 生成,包含即将举行比赛的场馆和电视/广播信息。用户可以通过 Google Calendar、Apple Calendar 或 Outlook 的日历订阅功能,使用提供的 URL 添加订阅。该数据集以 ICS 格式提供,并附带生成脚本(generate_feeds.py)和发布脚本(publish.py)的源代码。
Sports Calendar Feeds is a dataset providing subscribable sports event calendar feeds covering MLB, NHL, NFL, and the Premier League. Each event is displayed as free (TRANSP:TRANSPARENT) in the calendar, not occupying the users time slots. After the game ends, the event title automatically updates to the final score (e.g., ⚾ Final: Yankees 5 – Braves 4). Events use stable UIDs and are updated in place on each refresh, avoiding duplicates. Calendar data is generated daily by an automated task from ESPNs public scoreboard API, including venue and TV/radio information for upcoming games. Users can subscribe via Google Calendar, Apple Calendar, or Outlook using the provided URL. The dataset is available in ICS format, along with source code for generation scripts (generate_feeds.py) and publishing scripts (publish.py).
sports-calendar 数据集概述
基本信息
- 名称:Sports Calendar Feeds(体育日历订阅源)
- 标签:体育(sports)、日历(calendar)、ICS格式(ics)
- 覆盖范围:MLB(美国职棒大联盟)、NHL(国家冰球联盟)、NFL(国家橄榄球联盟)、英超联赛(Premier League)
主要特性
日历订阅功能
- 提供可订阅的日历源,用户可将体育赛事直接添加到个人日历中
- 每个事件均标记为“空闲”(
TRANSP:TRANSPARENT),赛事不会在日历上显示为忙碌状态
赛事更新机制
- 赛后保留最终比分:比赛结束后,事件会保留在日历上,并在标题中显示最终比分(如
⚾ Final: Yankees 5 – Braves 4) - 稳定的事件标识(UID):每次刷新时事件原地更新,不会产生重复条目
- 每日自动更新:由自动化任务从ESPN公共比分API每日重新生成数据
附加信息
- 即将到来的比赛包含场馆信息和电视/转播信息
订阅方式
Google Calendar
设置 → 添加日历 → 通过URL添加 → 粘贴以下任一链接:
- 综合源:
https://huggingface.co/datasets/karunapu/sports-calendar/resolve/main/feeds/all.ics - MLB源:
https://huggingface.co/datasets/karunapu/sports-calendar/resolve/main/feeds/mlb.ics - NHL源:
https://huggingface.co/datasets/karunapu/sports-calendar/resolve/main/feeds/nhl.ics - NFL源:
https://huggingface.co/datasets/karunapu/sports-calendar/resolve/main/feeds/nfl.ics - 英超源:
https://huggingface.co/datasets/karunapu/sports-calendar/resolve/main/feeds/epl.ics
其他日历应用
- Apple Calendar 和 Outlook 同样支持,使用相同URL添加日历订阅
配套代码
- 生成器源代码:
generate_feeds.py(位于https://huggingface.co/datasets/karunapu/sports-calendar/resolve/main/generate_feeds.py) - 发布器(含完整性检查):
publish.py(位于https://huggingface.co/datasets/karunapu/sports-calendar/resolve/main/publish.py)





