Bundle
xby-nba-stats
一个提供实时和历史NBA数据的模型上下文协议服务器,包括球员统计、比赛得分、球队信息和高级分析。
- Source
- xby-skill
- License
- MIT
- Updated
- Updated 2 days ago
Readme
# xby-nba-stats DeepSeek Harness (DSH) 的插件:NBA数据服务 一个提供实时和历史NBA数据的模型上下文协议服务器,包括球员统计、比赛得分、球队信息和高级分析。 ## 功能 - **set_xby_apikey** — 在聊天中设置 API 密钥(自动持久化,重启有效) - **get_server_info** — Server version + runtime settings (timeouts, retries, cache, concurrency). - **resolve_team_id** — Resolve team name/city/nickname → team_id. - **resolve_player_id** — Resolve player name → player_id (official stats endpoint). - **find_game_id** — Find game_id by date and matchup. If date omitted, finds most recent matchup via schedule. - **get_todays_scoreboard** — Today's games. - **get_scoreboard_by_date** — Games for a specific date. - **get_game_details** — Detailed game info for a specific game_id. - **get_box_score** — Full box score for a game_id. - **search_players** — Search players by name substring. - **get_player_info** — Player bio/profile info. - **get_player_season_stats** — Player stats for a season. - **get_player_game_log** — Player game log for a season. - **get_player_career_stats** — Player career totals/averages. - **get_player_hustle_stats** — Player hustle stats. - **get_league_hustle_leaders** — League leaders in a hustle stat category. - **get_player_defense_stats** — Opponent FG% when defended by player. - **get_all_time_leaders** — All-time leaders for a stat category. - **get_all_teams** — All teams. - **get_team_roster** — Team roster. - **get_standings** — League standings. - **get_league_leaders** — Current season per-game league leaders for a stat category (Points/Assists/Rebounds/etc.). - **get_schedule** — Team upcoming schedule. - **get_player_awards** — Player awards/accolades. - **get_season_awards** — Major awards for a season. - **get_shot_chart** — Shot chart data summary. - **get_shooting_splits** — Shooting splits summary. - **get_play_by_play** — Play-by-play summary. - **get_game_rotation** — Rotation/substitution summary. - **get_player_advanced_stats** — Player advanced metrics summary. - **get_team_advanced_stats** — Team advanced metrics summary. ## 安装 ### 方式一:从 GitHub 直接安装(推荐) ```bash # 格式: dsh plugin --profile <profile> add github:<owner>/<repo> dsh plugin --profile web add github:xby_skill/xby-nba-stats ``` ### 方式二:从本地目录安装(开发模式) ```bash # 仅用于本地开发调试 dsh plugin --profile web add /absolute/path/to/xby-nba-stats ``` ### 方式三:通过 cordis.patch.yml 开发调试 ```bash dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml ``` ## 配置 ### 获取 API 密钥 前往 [小笨羊官网](https://xiaobenyang.com) 注册并获取 API 密钥。
Install
dsh plugin --profile web add github:xby-skill/xby-nba-stats#cf4849af291cb2b9ac480cb44fbeefc85e6f2f4f
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install xby-nba-stats from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.