Open benschlegel opened 6 years ago
I have been able to get non-empty average_stats
fields. See the following:
import asyncio
from overwatch_api.core import AsyncOWAPI
from overwatch_api.constants import *
async def testing(loop):
# Instantiating the api
client = AsyncOWAPI()
data = {}
print('Testing......[get_hero_stats]')
print((await client.get_hero_stats("Danielfrogs#2552", platform=PC))
['eu']['stats']['quickplay']['symmetra']['average_stats'])
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(testing(loop))
When I run it, I get
Testing......[get_hero_stats]
{'teleporter_uptime_average': 0.16}
I don't know why almost all heroes have empty average_stats
fields (Only Zarya and Symmetra have any data for Danielfrogs#2552
), but that field is at least not always empty.
this still isnt really getting the per 10 minutes stat, just some generals and that only for 2 heros
Hmm π€, maybe OWAPI isn't responding with updated data.
25 feb. 2018 kl. 23:39 skrev bschlegel-tgm notifications@github.com:
this still isnt really getting the per 10 minutes stat, just some generals and that only for 2 heros
β You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Any idea what i could do to get those stats tho?
No, I unfortunately don't know how or where to get those stats π.
26 feb. 2018 kl. 10:45 skrev bschlegel-tgm notifications@github.com:
Any idea what i could do to get those stats tho?
β You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Any way i could reach out to the developer so he could fix it?
Once you find even more examples of battletags lacking average stats, you could just shoot the developer(s?) of OWAPI an email about it. But make sure to really confirm this problem, I donβt want to bother the dev(s) without a reason to π.
26 feb. 2018 kl. 21:19 skrev bschlegel-tgm notifications@github.com:
Any way i could reach out to the developer so he could fix it?
β You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Im trying to get the average stats per 10 minutes, aka the
average_stats
field in the output, but whatever battletag im using, this is the only field thats always empty (its empty in every region too, not only the one that the player plays in)