zMCdarc / RainbowSixSiege-Python-API

Asynchronous python api for rainbow six siege (r6sapi)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

r6sapi

r6sapi is an easy-to-use asynchronous API for rainbow six siege, written in python. To use it you'll need use your ubisoft email and password

Installation

To install this module, simply run

pip install r6sapi

Documentation

http://rainbowsixsiege-python-api.readthedocs.io/en/latest/

Quick Example

import asyncio
import r6sapi as api

@asyncio.coroutine
def run():
    auth = api.Auth("email", "password")
    
    player = yield from auth.get_player("billy_yoyo", api.Platforms.UPLAY)
    operator = yield from player.get_operator("sledge")
    print(operator.kills)
    
asyncio.get_event_loop().run_until_complete(run())

TODO

  • implement the ability to fetch data for multiple players at once in order to reduce the amount of api calls required when handling lots of players simultaneously.

License

MIT

About

Asynchronous python api for rainbow six siege (r6sapi)

License:MIT License


Languages

Language:Python 100.0%