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.

TODO:

  • publish on pypi. Until package is published, clone the repo and run
    cd <path to repo>
    pip install -e .
    
  • tests

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

Auxiliary functions

utils.py

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.1.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

euroleague_api-0.0.1-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

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