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
Installation
pip install euroleague-apiExample
from euroleague_api.shot_data import ShotDataseason = 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
Game stats
Player stats
Team stats
Standings
Shot data
Play-by-play data
Boxscore data
Game Metadata
League Schedule
schedule.pyAuxiliary functions
TODO
- Add tests