A Python wrapper of the Euroleague API
Project description
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
Auxiliary functions
TODO
- Add tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
euroleague_api-0.0.18.tar.gz
(16.1 kB
view details)
Built Distribution
File details
Details for the file euroleague_api-0.0.18.tar.gz
.
File metadata
- Download URL: euroleague_api-0.0.18.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1b4a7dae329aa64b3abef5172e77b86d67377caa3ca4f2b67396a46cda39de72
|
|
MD5 |
5e920937ff5a01aacd3907f5e92976e1
|
|
BLAKE2b-256 |
2fd94608151ae948af68efa53efe416a8b25cce3119c3dce6e0c4943180eba35
|
File details
Details for the file euroleague_api-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: euroleague_api-0.0.18-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4a31d787a18fbfd7d74a79e7898f8d44b203f9a1176524c56832ff93c888a70c
|
|
MD5 |
cc5f809d0273addeab072aa0b2ce0fc1
|
|
BLAKE2b-256 |
29f8657d76f12ea250142d7b4566c367192ce851c94b1d0ddb4f485e793a6a1f
|