RiotGames / developer-relations

Riot Games Developer Ecosystem Bug Reporting
http://developer.riotgames.com
725 stars 44 forks source link

[FEATURE-REQUEST] Fetch VALORANT Ranked Rating by RSO linked PUUID #922

Open aidenwallis opened 2 months ago

aidenwallis commented 2 months ago

Problem Description

I maintain a large community chatbot used by many VALORANT Twitch creators, and one common command they use (through our "customapi" functionality, allowing them to pull data from bespoke HTTP GET requests from other sources) is a command to return their ranked rating on VALORANT. This is, as far as I know, not possible for all users when using the official API.

I have for some time kept a cache of the VALORANT leaderboards in each region to satisfy the RSO linked user story of "what is my ranked rating/rank". However, given that not all users are on ranked leaderboards, this solution does not cover everyone.

I would love for an official, supported method for obtaining a users' ranked rating by an RSO connected users' PUUID. Doing so provides 3 benefits:

  1. I do not need to iterate through the entire leaderboard to find a subset of my users' RR. This exposes me to far more user data than I'd ideally like to consume, including for users that I do not have an existing authorization with (though, I do not cache these users).
  2. It provides coverage for all users on third party surfaces using official sources, even those not on the VALORANT leaderboard.
  3. It negates the need for users to resort to unsupported solutions for obtaining the same data, better safeguarding user data and bringing what appears to be a common query pattern into the official VALORANT developer ecosystem.

Developer Impact

Player Impact

Issue Comments

I understand that this may have been intentionally not provided by Riot in their official API historically, however, given that users have been contacting me asking for a "native chatbot workaround" given that their solutions for obtaining this data unofficially have broken, now feels like a good time to request a seemingly popular query pattern from Riot's official developer ecosystem, allowing us all to better serve the VALORANT community.

TristanWiley commented 2 months ago

Huge +1 to this! I've worked with the Riot API when working on Pro City for tarik. One of the problems we ran into was getting the rank of players for verification on their application. We weren't able to use the Riot API for this due to the limitations.

I also ran into this when trying to make a rank command for streamers (tarik, ShahZaM, s0m). The only solutions was scraping the public leaderboard. Adding this endpoint would greatly help the Valorant community!

SputNikPlop commented 1 month ago

+1 This would greatly especially for efficiency on mobile for an iOS widget