Giter Club home page Giter Club logo

Comments (8)

peppy avatar peppy commented on June 9, 2024

Is this not exposed by the v2 API already? If so, I don't think we will be exposing new attributes here.

from osu-api.

uzervlad avatar uzervlad commented on June 9, 2024

No, v2 doesn't return any information about separate skills.

from osu-api.

peppy avatar peppy commented on June 9, 2024

That's a bit of an oversight. We'll need to add that eventually, but I'll see that this is added to the v1 API in the mean time.

from osu-api.

peppy avatar peppy commented on June 9, 2024

Before I add this, what is the use case for using this?

from osu-api.

uzervlad avatar uzervlad commented on June 9, 2024

Just PP calculation. I don't think it can be used for anything else.
It's too hard to write and debug star rating calculation on my own, so I use values from API

from osu-api.

peppy avatar peppy commented on June 9, 2024

Hmm, we already have tools which you can run to produce these locally, have you tried using those? I think that would be more efficient in most cases.

I'm just asking because I think 99% of use cases won't use this attribute and adding it bloats the response and the lookup overhead, potentially for no reason.

from osu-api.

TheEZIC avatar TheEZIC commented on June 9, 2024

I also need this, because I use it in my front-end only extension to calculate PP
github repository
google extension store page
I can't use v2 API. I don't remember exactly why, but the issue was related to converted beatmaps.

from osu-api.

uzervlad avatar uzervlad commented on June 9, 2024

Hmm, we already have tools which you can run to produce these locally, have you tried using those?

Yes, I have, a rewrite of my bot uses lazer to calculate star rating and PP. But the current version is relying on values from API.
Actually, while writing this I realized that it shouldn't be too hard to connect lazer with the existing codebase.

@TheEZIC's use case, on the other hand, probably can't rely on any external tools, so if your only concerns are bloat and lookup overhead, you could add a query parameter for showing all difficulty attributes.

from osu-api.

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.