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 hashes)

Uploaded Source

Built Distribution

battlefy_py-0.6.1-py3-none-any.whl (18.0 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