Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flaree/r6statsapi

Wrapper for R6Stats API
https://github.com/flaree/r6statsapi

Last synced: 25 days ago
JSON representation

Wrapper for R6Stats API

Awesome Lists containing this project

README

        

# 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:

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

# Windows
py -3.7 -m pip install -U r6statsapi
```
---
## Example
```py
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)
)
```