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

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.

Source Distribution

aiotba-0.0.3.post2.tar.gz (10.2 kB view details)

Uploaded Source

File details

Details for the file aiotba-0.0.3.post2.tar.gz.

File metadata

  • Download URL: aiotba-0.0.3.post2.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for aiotba-0.0.3.post2.tar.gz
Algorithm Hash digest
SHA256 01b8c6ca6b402c79740ffaf834be4003adf4b7ee2d519a60520075af9dbacc0e
MD5 f42879453717c45aeab8cdff441e171e
BLAKE2b-256 9ee5746985d34d3c8fe49a1900ef615a2bee20e5f19f289a07aa8ce5b930b519

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