Async Wrapper for R6 Stats API
Project description
r6statsapi
Docs
https://r6statsapi.readthedocs.io/en/latest/index.html
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
To install the dev version, replace r6statsapi
with git+https://github.com/flareee/r6statsapi
import r6statsapi
import asyncio
loop = asyncio.get_event_loop()
client = r6statsapi.Client('TOKEN')
players = loop.run_until_complete(
client.get_generic_stats("fiareee", Platform.uplay)
)
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
r6statsapi-0.1.7.tar.gz
(7.6 kB
view hashes)