/r6statsapi

Wrapper for R6Stats API

Primary LanguagePythonMIT LicenseMIT

r6statsapi


Docs

Installation

Python 3.7 or higher is required

To install the library, you can just run the following command:

# Linux/Mac
python3.7 -m pip install -U r6statsapi

# Windows
py -3.7 -m pip install -U r6statsapi

Example

import r6statsapi
import asyncio


loop = asyncio.get_event_loop()

client = r6statsapi.Client('TOKEN')
players = loop.run_until_complete(
    client.get_generic_stats("flareee", r6statsapi.Platform.uplay)
)