Closed notBradPitt closed 2 years ago
Do you mean the position on the leaderboard? If so I'll have to take a look if that info is even available.
I second that, the rank in the leaderboard of last 3 games is really important
Do you mean the position on the leaderboard? If so I'll have to take a look if that info is even available.
I think there's a "score" value under the "stats" of each player when you fetch a match on the Valorant API, if that's what you're using. There are categories for all players or for each team so you can get both team and match rank.
On the API that I use. I suppose running a sorting algorithm or simply checking how many players have a higher score to get the rank will make the app heavier?
Yes, then you have to sort there scores and see what is the rank of the specified player.
On Mon, Dec 20, 2021, 3:28 AM notBradPitt @.***> wrote:
[image: image] https://user-images.githubusercontent.com/85218180/146699214-d33dc644-ee7c-43af-8a88-2edd4566ead7.png On the API that I use
— Reply to this email directly, view it on GitHub https://github.com/Soneliem/WAIUA/issues/24#issuecomment-997515060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG56PNSLCDV32LU4FVKAY6TUR2BC3ANCNFSM5KFWCYHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
@notBradPitt think your last point there pretty much is the issue. For each match you'll need to query everyone's score and check which of them is the player. Then we'll have to so that for all three games so that's about 6 operations and 3 API requests. And that's just one player, for 10 players its 60 operations and 30 API requests just to get three numbers per person. That's also why I said no to adding an average KDA.
Additionally I want to bring up the bullying aspect to this as knowing of a team/enemy was bottom fragging or underperforming is an easy target method. I have to allow the app to help spot smurfs without making it an easy avenue of hate for toxic players.
However, I've investigating new methods and ideas so maybe this is a possibility in the future. Hope you understand and If you have any other ideas or suggestions please don't hesitate to provide them although my discord will be perfect for that.
It'd be useful if there's also an indicator for the overall rank in the past 3 matches for each player. For example, someone who won the past 3 matches as MVPs is an obvious indicator of smurfing