billy-yoyo / RainbowSixSiege-Python-API

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

Player object has none of the properties listed in documentation #54

Closed CodingPenguin1 closed 3 years ago

CodingPenguin1 commented 3 years ago

Running player.kills returns an AttributeError: 'Player' object has no attribute 'kills'

Documentation states that Player should have this property, among others

billy-yoyo commented 3 years ago

Are you calling player.load_general first? The player data isn't automatically populated you have to trigger the request to fetch it manually.

CodingPenguin1 commented 3 years ago

My mistake. I forgot to await. Thanks for the fast response! Sugguestion to add an example using this to the docs?