Unofficial Python API client for the ballchasing.com API.
Project description
ballchaser ⚽️🚗
Unofficial Python API client for the ballchasing.com API.
Getting Started
pip install ballchaser
All API requests are exposed via the BallChaser
class which is initialised with a ballchasing.com API token.
import os
from ballchaser.client import BallChaser
ball_chaser = BallChaser(os.getenv("BALLCHASING_API_TOKEN"))
# search and retrieve replay metadata
replays = [
replay
for replay in ball_chaser.list_replays(player_name="GarrettG", replay_count=10)
]
# retrieve replay statistics
relay_stats = [
ball_chaser.get_replay(replay["id"])
for replay in replays
]
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
ballchaser-0.6.0.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file ballchaser-0.6.0.tar.gz
.
File metadata
- Download URL: ballchaser-0.6.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fcc5f1c2375fda04ebaae624b0d98004535b28888e36f9dc856cb01aa4f9dba |
|
MD5 | f4e8875cc4aa247b7f63c0d4f82358f7 |
|
BLAKE2b-256 | 7f3f45db849825cc9166f6ac5639cc2c0ed603d4871c446cdbf08f9da37e8b97 |
File details
Details for the file ballchaser-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: ballchaser-0.6.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34922edb488c3f73516589202933e434fea876cf0286c0955a69abbdf3c7fef9 |
|
MD5 | e6cf2217941b9369aa79a2015fc2a25e |
|
BLAKE2b-256 | 7da9428c4bebfd907a3d8af17fdc4da82a1f6c336e3d7cebaeb15fb3b2b2197a |