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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file euroleague_api-0.0.21.tar.gz.
File metadata
- Download URL: euroleague_api-0.0.21.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f2084a152b9e8069d6576c10d72c07973d33a7d8cda154504637853f8c46bee
|
|
| MD5 |
69a7486afdfaee9fc59060fd3763b590
|
|
| BLAKE2b-256 |
9f97b046f8b0739e23241745f57fc137f181e0af7cc0724de79ac06f5209d371
|
File details
Details for the file euroleague_api-0.0.21-py3-none-any.whl.
File metadata
- Download URL: euroleague_api-0.0.21-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
071d4b21f44376947e2019dd3fd7b0cc7fe34928ef6c9b621e34dfb3a8e21943
|
|
| MD5 |
03ee8b81b3aff741858463c190b04c6d
|
|
| BLAKE2b-256 |
8224729024192637e5b793af8013e862de755e4ccf5bf2baf52953671d86c3aa
|