billy-yoyo / RainbowSixSiege-Python-API

Asynchronous python api for rainbow six siege (r6sapi)
MIT License
130 stars 31 forks source link

Unable to get rank for previous seasons #52

Open Crypto-Spartan opened 4 years ago

Crypto-Spartan commented 4 years ago

Whenever I use player.get_rank() and I specify a season number for something different than -1, I get an error:

File "C:\Program Files\Python37\lib\site-packages\r6sapi\auth.py", line 271, in get                                                                                                                                                             
    raise InvalidRequest("HTTP %s: %s" % (data["httpCode"], msg), code=data["httpCode"])                                                                                                                                                          
r6sapi.exceptions.InvalidRequest: HTTP 500: Uncaught exception

Hopefully someone can provide some insight as to what's going on!

billy-yoyo commented 3 years ago

Its possible some changes coming soon will fix this, if not I will get this fixed as a high priority