An asynchronous way to fetch data from nitrotype.
Project description
AsyncNT
An asynchronous way to fetch data from nitrotype.
Installation
pip install asyncnt
Basic Usage:
import asyncio
import asyncnt
async def main():
#create a session
async with asyncnt.Session() as session:
#get a Racer object
racer = await session.get_racer("travis")
#print races the racer has
print(racer.races)
#get a Team object
team = await session.get_team("NT")
#print team's daily speed
print(team.daily_speed)
Check out the docs for more information.
Lisence
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asyncnt-1.2.0.tar.gz
(5.7 kB
view hashes)