Skip to main content

a lib for the blue alliance (TBA) apiv3 using asyncio/aiohttp

Project description

#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 (hopefully) 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiotba, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size aiotba-0.0.2-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiotba-0.0.2.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page