Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.11 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.11 KB

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)
)