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

Boxscore data

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

euroleague_api-0.0.7-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for euroleague_api-0.0.7.tar.gz
Algorithm Hash digest
SHA256 71e7f3953cbd7f7c824c9cbae5afbdc090f375f0ed67aec071b55bc6782dd701
MD5 d2c0514242fcf24e7d23ab1efdc2f87b
BLAKE2b-256 a2e517edceb7d76bce903d2f2735e56a3460014ec615b97fce25bc3015c0c5de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: euroleague_api-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for euroleague_api-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 255802a104b3ee67fb097b128c487e540171abefbc19ac2172d703cfaeea9949
MD5 13fdcbe6ce29bd323e2cf40bcd1e2ebc
BLAKE2b-256 77042c267f5a1cfa2695638fea755475e9a3728405caf27dea6ab196a188157c

See more details on using hashes here.

Supported by

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