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.11.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file euroleague_api-0.0.11.tar.gz
.
File metadata
- Download URL: euroleague_api-0.0.11.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d368be9c91959eb59c8cc403ad7fc3abee2b046957e674182aeca175bf9050 |
|
MD5 | a990a939f1a531ba2ab2020cd4fb880c |
|
BLAKE2b-256 | 3d92f372cc4f910e7e71228a9898fbd6d69d4fe33eeb5b954748cb2cb4dfad35 |
File details
Details for the file euroleague_api-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: euroleague_api-0.0.11-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8bd7f5e85497abe8ee3d6c9a87c1959ff91fa2c6079e73ff93db1181ca8ddcc |
|
MD5 | 525384bc11151b85ebf93d8b339e6ff2 |
|
BLAKE2b-256 | c9db7e14a6e55e034159a0ed136c9a57ea462497df5206eaf73be208ee5c19ce |