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.
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
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.13.tar.gz
(14.1 kB
view details)
Built Distribution
File details
Details for the file euroleague_api-0.0.13.tar.gz
.
File metadata
- Download URL: euroleague_api-0.0.13.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43b5a542abec7756d515f1f0188435fc0d9662edc39528f196359b8fca92063 |
|
MD5 | cb94f1b800f89e08901e543683d76fdb |
|
BLAKE2b-256 | 89b80a074e1c730143268d30f81789ffd7efba9c7bef246d96c32b349892cc54 |
File details
Details for the file euroleague_api-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: euroleague_api-0.0.13-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c8c12118e4df626a175ff37a0365c833c3a23a21a883cf12f4810570c248d65 |
|
MD5 | dc72ce0af44fae1d40d52634ccd8ff96 |
|
BLAKE2b-256 | de24985fcf816f0e53b4cc554290176ff9a629446e838ee806b33432b453f796 |