Skip to main content

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.get_replays(player_name="GarrettG", replay_count=10)
]

# retrieve replay statistics
relay_stats = [
    ball_chaser.get_replay(replay["id"])
    for replay in replays
]

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

ballchaser-0.4.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

ballchaser-0.4.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ballchaser-0.4.1.tar.gz.

File metadata

  • Download URL: ballchaser-0.4.1.tar.gz
  • Upload date:
  • Size: 4.4 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

Hashes for ballchaser-0.4.1.tar.gz
Algorithm Hash digest
SHA256 077497f0b04a75469c8707777209281e601948798f67d9de834fc669ee5b8dce
MD5 499d98cfb05ed8afccd5001c68b1a4f4
BLAKE2b-256 1d7b056d9889760e08732bf97d458b53e320db4a896bd58494d156a894a26e84

See more details on using hashes here.

File details

Details for the file ballchaser-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: ballchaser-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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

Hashes for ballchaser-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5b3d95a3acd8424ef75658695e6b70a14ad2967f59b74dab9298df4d4c50c02
MD5 712af5fd9fddf5db04a24829b4bb27fb
BLAKE2b-256 81cfa38804cba04e849ec443aa3f890288c7cc1e72168dd38e03628eefce2c3e

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