Jump to content
Sign in to follow this  
MeninoGrevius

Getting player rating and leaderboard top

Recommended Posts

Hey there,

 

I just tried some commands on PUBG API but I was not able to figure out the player rating and leaderboard position, how can I find this?

 

Cheers

Share this post


Link to post
Share on other sites

Hi!

 

That isn't something that is available right now, but we'll make an announcement if that changes. Cheers!

Share this post


Link to post
Share on other sites
13 horas atrás, PUBG_Megan disse:

Hi!

 

That isn't something that is available right now, but we'll make an announcement if that changes. Cheers!

 

Thanks. Are you able to say if is that something planned?

 

Cheers

Share this post


Link to post
Share on other sites
On 8/3/2018 at 10:08 PM, MeninoGrevius said:

 

Thanks. Are you able to say if is that something planned?

 

Cheers

 

Not yet, sorry. I'll provide more information though as soon as possible. ?

Share this post


Link to post
Share on other sites

We likely won't be adding an "overall rating" to the API since the information is already available to calculate it. You can calculate the overall rating using the following forumula:

Overall Rating = winPoints + 0.2*killPoints

winPoints and killPoints can be found at both the /matches endpoint and the /players/{playerId}/seasons/{seasonId} endpoint. For the latter, these can be found in the game mode stats object. In this case, winPoints and killPoints can be used to calculate the overall rating for a player during a season.

 

In the case of the /matches endpoint, winPoints and killPoints can be found under the stats attribute for each participant object. These are the points that the player had when the match began. You will also find winPointsDelta and killPointsDelta. These are the changes to the winPoints and killPoints as a result of the match. Keep in mind that if the player has started a match before the previous one ended, then the winPoints and killPoints will be the same number for both matches since they haven't been updated yet. After both matches end, the winPointsDelta and killPointsDelta will both be added to winPoints and killPoints, respectively.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×