Giter Club home page Giter Club logo

Comments (11)

Js41637 avatar Js41637 commented on July 28, 2024

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.

andrewzah avatar andrewzah commented on July 28, 2024

I'll take a look into this, thanks!

from owapi.

Fuyukai avatar Fuyukai commented on July 28, 2024

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.

Fuyukai avatar Fuyukai commented on July 28, 2024

Note that I haven't pushed it to live as I don't want anything to break.

from owapi.

andrewzah avatar andrewzah commented on July 28, 2024

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.

andrewzah avatar andrewzah commented on July 28, 2024

@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.

Fuyukai avatar Fuyukai commented on July 28, 2024

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.

andrewzah avatar andrewzah commented on July 28, 2024

Could it output None instead? I mean 0 could work, it's up to you.

from owapi.

Js41637 avatar Js41637 commented on July 28, 2024

Yeah null would imply that we don't know instead of they have 0 games played

from owapi.

Fuyukai avatar Fuyukai commented on July 28, 2024

I would, but this might break anyone who (correctly) assumes it is an int.

from owapi.

andrewzah avatar andrewzah commented on July 28, 2024

Fair enough, 0 works.

from owapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.