Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get nearest ranked user #317

Open
takoz53 opened this issue Aug 3, 2021 · 0 comments
Open

Get nearest ranked user #317

takoz53 opened this issue Aug 3, 2021 · 0 comments

Comments

@takoz53
Copy link

takoz53 commented Aug 3, 2021

This should get the nearest two users by rank of another user.
E.g. person with rank 100 000 should yield back person with 99 999 and 100 001.
(basically 2xget_user requests with rank as parameter, yielding 2 user objects)

What would this be used for? (or at least for me):
I'd want to create Milestones for Players (e.g. you need x pp to reach y rank). Some people get motivated when they see these, so it would make them keep going.

Would help with comparing top plays etc. too, to give one player a goal to achieve new top plays.

Not sure what else one can use this for yet, but hopefully is enough reason to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant