Skip to main content

A Python Library for Battlefy.com

Project description

WORK IN PROGRESS

This library is still a wip and is far from ready to be used. Feel free to use but expect breaking changes if you don't lock a version.

Battlefy.py

A Python Library for Battlefy.com

Battlefy.py is an asyncio library for accessing information off of Battlefy.com.

This library has been designed for use by IPL for Splatoon tournaments primarily.

Installation

pip install battlefy.py

Usage

Tournaments

from battlefy import TournamentClient

client = TournamentClient(headers = {})

tour_id = "5d167f61ddd2f83f429dc858"
tournament = await client.get_tournament(tour_id)

print(tournament.name)

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

battlefy_py-0.6.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

battlefy_py-0.6.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file battlefy_py-0.6.1.tar.gz.

File metadata

  • Download URL: battlefy_py-0.6.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for battlefy_py-0.6.1.tar.gz
Algorithm Hash digest
SHA256 78cc01c85cf3a5966e4cdb63d78860591b8fb553f3b440c32ba09d637db318e9
MD5 a6a1e5b0e27efbc247583ed66651b816
BLAKE2b-256 3fd48acc3111dc72de3b9c56d9d78d4d814209e024f33fae0595aec6461b5646

See more details on using hashes here.

File details

Details for the file battlefy_py-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: battlefy_py-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for battlefy_py-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc92bbe7ae9519c52113284b43804761cd908473ab6c766466af1a77907c5058
MD5 b6596d85d9ea74450ab8528f90057552
BLAKE2b-256 8f3f1112f6d2855b5ad51a78f9f28ac22045bfe90166c4f72f8c865e3ca09316

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