Web Analytics

euroleague_api

⭐ 85 stars Simplified Chinese by giasemidis

欧洲篮球联赛 API

这是一个针对 EuroleagueEuroCup 联赛的欧洲篮球联赛 API 的 Python 包。API 端点来源于 swagger 平台,并补充了一些在博客和讨论中发现的额外 API 端点(例如投篮数据)。未来还会添加更多端点。

如果你喜欢这个库,考虑捐赠支持

Buy Me A Coffee

安装

pip install euroleague-api

示例

from euroleague_api.shot_data import ShotData

season = 2022 game_code = 1 competition_code = "E"

shotdata = ShotData(competition_code) df = shotdata.get_game_shot_data(season, game_code)

See also the notebooks/get-season-stats.ipynb notebook for examples.

Documentation

Euroleague Data class

EuroleagueData.py

Game stats

game_stats.py

Player stats

player_stats.py

Team stats

team_stats.py

Standings

standings.py

Shot data

shot_data.py

Play-by-play data

play_by_play_data.py

Boxscore data

boxscore_data.py

Game Metadata

game_metadata.py

联赛赛程

schedule.py

辅助函数

utils.py

待办事项

--- Tranlated By Open Ai Tx | Last indexed: 2026-06-06 ---