Web Analytics

euroleague_api

⭐ 85 stars English by giasemidis

Euroleague API

This is a python package of the Euroleague API for the Euroleague and EuroCup leagues. The API endpoints were found on the swagger platform, with the addition of a few more API endpoints (e.g. shot data) found on blogs and discussions. More endpoints will be added.

If you like this library, consider donating on

Buy Me A Coffee

Installation

pip install euroleague-api

Example

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

League Schedule

schedule.py

Auxiliary functions

utils.py

TODO

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