billy-yoyo / RainbowSixSiege-Python-API

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

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

Closed CodingPenguin1 closed 4 years ago

CodingPenguin1 commented 4 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 4 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 4 years ago

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