Fuyukai / OWAPI

Overwatch JSON API
https://owapi.net
MIT License
456 stars 74 forks source link

Average stats missing? #192

Closed DanielMarquard closed 7 years ago

DanielMarquard commented 7 years ago

Are average stats broken? On my local API, I get this message:

{"msg":"please report this!","error":500,"exc":"KeyError(\'eliminations_avg\',)"}

On the hosted API, I see this for average stats:

"average_stats": {}
Fuyukai commented 7 years ago

Average stats appear to have gone missing from the website again.

The local API error is due to being on an outdated version.

DanielMarquard commented 7 years ago

OK, thank you. I will update our API locally. When 100K users complain at once, you know Overwatch broke something. 😆

So average stats have gone missing in the past? Do they remove them and add them back later or something? Great work on this API, by the way.

Fuyukai commented 7 years ago

Blizzard seems to break the website I scrape from randomly, unfortunately. I saw the first signs of this last night, but I hoped it was isolated cases.

andrewzah commented 7 years ago

At this point I think Blizzard just hates us. No actual API, just a website that they change randomly...

Js41637 commented 7 years ago

they don't give a single fuck

nvirm commented 7 years ago

I made a bug report about this, but obviously Blizzard is in no rush to fix their shit. The Average DMG/10minutes stat is hilariously broken as well on the site.

https://us.battle.net/forums/en/overwatch/topic/20758585728#post-1

Js41637 commented 7 years ago

you must be new here

nvirm commented 7 years ago

Not new, I've just observed until now. I am very well aware of Blizzard's incapability to take user voices into account :) :+1:

As much as I'd like to work there one day, they make themselves hard to like amongst developers outside their company. No API, no proper Observer tooling (See HLTV or Dota) etc etc etc.

Js41637 commented 7 years ago

Yeah was just messin' around. They obviously either have a separate web team or just do the bare minimum as they don't have anyone to work on it. There is a listing on Blizzards Job page for a Web Developer for Overwatch so, maybe one day it won't be shit.

nvirm commented 7 years ago

True. I'm willing to bet.. okay I'm not, but they should have an API in place when Overwatch League starts.

Just a thought, meanwhile we could get some of the averages by getting the total amount of games, and divide total eliminations, deaths, healing, medals with that. Not saying it needs to be implemented to OWAPI, because the data is there in current API, just need to access it via different means.

Of course this does not protect us from further bugs in the website :dagger: :hankey:

Fuyukai commented 7 years ago

I actually question if anyone's looked at the page since it was updated. The averages are still there - I just don't parse them correctly.

And they're ten minute rolling averages instead. >.>

Fuyukai commented 7 years ago

This seems like a permanent feature now. I now parse rolling average stats instead. Sorry peoples.