Skip to main content

An asynchronous way to fetch team and racer statistics from nitrotype.

Project description

AsyncNT

An asynchronous way to fetch team and racer statistics 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


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.0.0.tar.gz (5.5 kB view hashes)

Uploaded Source

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