Skip to main content

A Python wrapper of the Euroleague API

Project description

Euroleague API

This is a python package of the Euroleague API. 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 import shot_data

season = 2022
game_code = 1

df = shot_data.get_game_shot_data(season, game_code)

Documentation

Game stats

game_stats.py

Player stats

player_stats.py

Team stats

team_stats.py

Standings

standings.py

Shot data

shot_data.py

Play-by-play data

play_by_play_data.py

Auxiliary functions

utils.py

TODO

  • Add more endpoints from various sources
  • Add Eurocup API support
  • Add tests

Project details


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.5.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

euroleague_api-0.0.5-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file euroleague_api-0.0.5.tar.gz.

File metadata

  • Download URL: euroleague_api-0.0.5.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for euroleague_api-0.0.5.tar.gz
Algorithm Hash digest
SHA256 abbd5c6a265d7551e69b2d0372ee21c2301bf13e231bb91e1106c77f1fe17837
MD5 6430210848f030f5d78a10820138a71b
BLAKE2b-256 ceccdd234f91586cc336a1ef69a6ca1e3ae8ecb2d131b2b55d8b7edfcc1b460b

See more details on using hashes here.

File details

Details for the file euroleague_api-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for euroleague_api-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fda8c9b284aa74df1910ba679c448636cd5500cc269533360c60c0d6c2a89d74
MD5 961b21ec930d9f2319694e96badd6dae
BLAKE2b-256 bcee373e376da2c38edf7054bde4df789cf025c43819442a48d2e17a714377a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page