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.

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.2.post1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiotba-0.0.2.post1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file aiotba-0.0.2.post1.tar.gz.

File metadata

  • Download URL: aiotba-0.0.2.post1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for aiotba-0.0.2.post1.tar.gz
Algorithm Hash digest
SHA256 84b0c5cccbaab2ac8998d13218cbfdc2dbe1ec62f2b1f4bc85566a965b1319a3
MD5 b308e9d1cf4405989779001fe9bcc045
BLAKE2b-256 7547b38839a42df94076c3cff529ca44f06d709476e8b49519d8ba8dd99fcbbd

See more details on using hashes here.

File details

Details for the file aiotba-0.0.2.post1-py3-none-any.whl.

File metadata

  • Download URL: aiotba-0.0.2.post1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for aiotba-0.0.2.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 f86d81f9a6fbea0151dfacd9901ba329c2261b717df3f3ffee2f5c169e95d8df
MD5 dd7dccdd68217d9f86418bde30bcac13
BLAKE2b-256 0060db19d87b1f946af0a4dbd106f19b3d662557a2681a43b6123744c930da20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page