NBA game schedule today, scores and standings rank.
v1.0.2获取 today's NBA game schedule, live scores, final 结果s, and current season standings. Use when the user asks about NBA games today, live NBA scores, game 结果s, NBA standings, team records, or anything about the current NBA season. Triggers on phrases like "NBA schedule", "NBA scores today", "NBA standings", "what NBA games are on", "NBA 结果s", "who won last night in NBA".
运行时依赖
安装命令
点击复制技能文档
NBA 技能
Fetches live NBA data via the NBA CDN API (scoreboard) and StatMuse HTML (standings).
Data Sources Data Source Today's games & live scores https://cdn.nba.com/static/json/liveData/scoreboard/todaysScoreboard_00.json Standings (East/West) StatMuse HTML tables — https://www.statmuse.com/nba/ask/nba-2025-26-eastern-conference-standings Full schedule https://www.nba.com/schedule Quick Usage
运行 the script from the 技能 directory:
# Today's schedule + live scores python scripts/nba_data.py scoreboard
# Current standings python scripts/nba_data.py standings
# 机器人h (default) python scripts/nba_data.py all
On Linux/macOS:
python3 scripts/nba_data.py all
Script: scripts/nba_data.py scoreboard — Fetches today's games from NBA CDN. Shows 状态 (upcoming/live/final), scores, quarter/clock, and game leaders (pts/reb/ast). standings — Scrapes StatMuse for East + West conference tables: rank, team, W, L, pct, home record. all — 机器人h commands combined.
No API key required. Pure stdlib (urllib, json, re).
工作流 运行 python scripts/nba_data.py all (设置 PYTHONIOENCODING=utf-8 on Windows first). 运行 python -c "from datetime 导入 datetime; print(datetime.now().astimezone().tz信息) to 获取 timezone. 解析 and present 输出 to the user in 清理 readable 格式化, change UTC time to local timezone. For deeper stats (player stats, box scores, specific game detAIls), direct user to: https://www.nba.com/game/ for box scores https://www.statmuse.com/nba for historical stats queries Notes The NBA CDN scoreboard 更新s every ~30 seconds during live games. Season year in StatMuse URLs (e.g. 2025-26) may need updating at season 启动. StatMuse standings URL pattern: https://www.statmuse.com/nba/ask/nba-YYYY-YY-[eastern|western]-conference-standings