Comments (11)
To clarify, anyone who has played Season 2 or has something to do with comp, it stops returning the amount of games played and only returns the wins. Also for me most of the site is currently broken and behaving weirdly. I dunno wtf Blizzard are doing but, MasterOverwatch stats have pretty much completely broken without games played.
EDIT: Seems to be anyone who has had something to do with Comp? Everyone I know who has played comp has no Games Played but some people I know who haven't still show. Weird.
On a side note the new comp ranks seem to work properly and the same as they did before, its just a much larger number now.
from owapi.
I'll take a look into this, thanks!
from owapi.
Untested fix at 529874b. I haven't been able to repro this myself - it'd be great if somebody could verify this fixes it.
from owapi.
Note that I haven't pushed it to live as I don't want anything to break.
from owapi.
Okay, so it errors on
https://owapi.net/api/v2/u/Solo-12577/stats/general
but not
https://owapi.net/api/v2/u/Solo-12577/stats/competitive
I'll test it real quick.
from owapi.
@SunDwarf 529874b works
"overall_stats": {
"games": 0,
"wins": 178,
"level": 51,
"win_rate": 0,
"prestige": 2,
"comprank": 4004,
"avatar": "https://blzgdapipro-a.akamaihd.net/game/unlocks/0x0250000000000A90.png",
"losses": 0
}
However something should probably be figured out as returning 0s isn't exactly ideal.
from owapi.
As much as I would like to, I literally can't do anything - the data just doesn't exist.
I'm leaving this open and dangling until Blizzard fixes the issue upstream.
from owapi.
Could it output None instead? I mean 0 could work, it's up to you.
from owapi.
Yeah null would imply that we don't know instead of they have 0 games played
from owapi.
I would, but this might break anyone who (correctly) assumes it is an int.
from owapi.
Fair enough, 0 works.
from owapi.
Related Issues (20)
- f HOT 1
- quickPlayStats and competitiveStats return empty arrays HOT 2
- Internal server exception being thrown HOT 3
- Dependencies require aioredis >=0.3.0,<1.0.0, however sub-dependency requires aioredis >=1.0 HOT 9
- Error 500
- stat_groups.find(".//span[@class='stat-title']").text is None HOT 4
- Some profiles returning "unsupported operand type(s) for +: 'int' and 'NoneType'" HOT 3
- "ValueError(\"could not convert string to float: 'null'\",)" HOT 3
- win rate, win , lose, games is NULL
- API down: error 500 HOT 5
- Hero-specific stats merged into general_stats HOT 6
- Error 502 HOT 2
- List index out of range HOT 4
- "ValueError(\"invalid literal for int() with base 10: '1,262'\",)" HOT 2
- New competitive system broke the API HOT 1
- "KeyError('src')" on a particular profile
- Redis on public API is dead HOT 2
- Feature: Docker-Image
- Kyoukai/asyncio issue : Task exception was never retrieved HOT 2
- Discontinuation. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owapi.