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
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-stas.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.10.tar.gz
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for euroleague_api-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c84815871185089fefd835bfc5efa0766253abd979cd1ae45b198e7fc994f043 |
|
MD5 | 4f23ead2bbc17a891d21cb9d86446d79 |
|
BLAKE2b-256 | 99c60ebec6f2ad1ae9c497aa6d6ca5980b9e6199d3f981c9cf680b554f61c304 |