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-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
Game stats
Player stats
Team stats
Standings
Shot data
Play-by-play data
Boxscore data
Game Metadata
League Schedule
Auxiliary functions
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)
| File | Size | Uploaded | |
|---|---|---|---|
| euroleague_api-0.1.1.tar.gz | 18.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|