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.12.tar.gz
(13.9 kB
view details)
Built Distribution
File details
Details for the file euroleague_api-0.0.12.tar.gz
.
File metadata
- Download URL: euroleague_api-0.0.12.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e88afca8103a75cf60730e8b490907f15324dd01aeb45c094c4aa177fc9ce875 |
|
MD5 | e918ebe42197c2174dd30343f48086bf |
|
BLAKE2b-256 | 8ec1436389135eaeb4bb0ac0e3882e1da12a4099f3f42642b925f679257012b8 |
File details
Details for the file euroleague_api-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: euroleague_api-0.0.12-py3-none-any.whl
- Upload date:
- Size: 18.8 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 | b2d0461616de3f69d495c037c48ea813291a0596000ed92caa749890adde1039 |
|
MD5 | f3e18b29dee4b7751a1005b790a9afa6 |
|
BLAKE2b-256 | f082eeb53452583b2e0482f04239145f3ba47935eb82ee4aa320e16803b50c89 |