Skip to main content

aiotba

yet another wrapper for The Blue Alliance's API except this one uses asyncio because it magically makes everything faster, right?

also because there's an overcomplicated type hinting system so there's autocomplete on everything (except for the season specific data structures, those are all just dicts lol and nobody cares about them most of the time)

example

import asyncio
from aiotba import TBASession

async def main():
    ses = TBASession("tba apiv3 key here")
    poofs = await ses.team(254)
    print(poofs.nickname)

asyncio.run(main())

this lib follows closely to the endpoints of APIv3 and should cover just about all of them except for the simple endpoints

installation

pip install aiotba

notes

all of this is on a provisional basis and large parts of the api could change at a moment's notice. this isn't "stable" yet so to speak.

Metadata

Release files for aiotba 0.0.3.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiotba 0.0.3.post2
File Size Uploaded
aiotba-0.0.3.post2.tar.gz 10.2 kB Details

Release files / aiotba-0.0.3.post2.tar.gz

Download URL aiotba-0.0.3.post2.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
01b8c6ca6b402c79740ffaf834be4003adf4b7ee2d519a60520075af9dbacc0e
BLAKE2b-256 checksum
How to use checksums
9ee5746985d34d3c8fe49a1900ef615a2bee20e5f19f289a07aa8ce5b930b519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.0.3.post2 This release

1 release file

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page