Skip to content

giasemidis/euroleague_api

Repository files navigation

Euroleague API

This is a python package of the Euroleague API. 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.

Installation

pip install euroleague-api

Example

from euroleague_api import shot_data

season = 2022
game_code = 1

df = shot_data.get_game_shot_data(season, game_code)

Documentation

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

Auxiliary functions

utils.py

TODO

  • Add more endpoints from various sources
  • Add Eurocup API support
  • Add tests