Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guineawheek/aiotba
an asyncio/aiohttp tba library with plenty of type hint abuse lol
https://github.com/guineawheek/aiotba
aiohttp asyncio frc frc-scouting python36
Last synced: 2 days ago
JSON representation
an asyncio/aiohttp tba library with plenty of type hint abuse lol
- Host: GitHub
- URL: https://github.com/guineawheek/aiotba
- Owner: guineawheek
- License: mit
- Created: 2018-09-29T07:13:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-24T06:12:05.000Z (almost 3 years ago)
- Last Synced: 2024-12-13T22:25:38.876Z (9 days ago)
- Topics: aiohttp, asyncio, frc, frc-scouting, python36
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```python
import asyncio
from aiotba import TBASessionasync 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](https://www.thebluealliance.com/apidocs/v3) 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.