Skip to main content

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

  • Add tests

Release files for euroleague-api 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for euroleague-api 0.1.1
File Size Uploaded
euroleague_api-0.1.1.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for euroleague-api 0.1.1
File Interpreter ABI Platform
euroleague_api-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 43.3 kB

Release files / euroleague_api-0.1.1.tar.gz

Download URL euroleague_api-0.1.1.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7b0496d2fef5188e37cf6672c387c1019694027bfe191c43efece03969efd352
BLAKE2b-256 checksum
How to use checksums
6ab095c08ea1ed1ba00e6f0ce6b2f42e11e844dcc45f21d9ce16034e3d7145e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / euroleague_api-0.1.1-py3-none-any.whl

Download URL euroleague_api-0.1.1-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c285f90c95cbe92f6760f5151f7d71346f3b7ff177f01558f97ddd65a6d70175
BLAKE2b-256 checksum
How to use checksums
ad220c2e7c40c5f73d7989795d1854074154aa9c029168de3317fe988ae95560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page