Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/flaree/r6statsapi
- Owner: flaree
- License: mit
- Created: 2019-10-20T13:31:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T15:09:31.000Z (over 1 year ago)
- Last Synced: 2024-08-09T12:27:43.665Z (3 months ago)
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 asyncioloop = asyncio.get_event_loop()
client = r6statsapi.Client('TOKEN')
players = loop.run_until_complete(
client.get_generic_stats("flareee", r6statsapi.Platform.uplay)
)
```