{"action":"created","issue":{"url":"https://api.github.com/repos/heroiclabs/nakama/issues/224","repository_url":"https://api.github.com/repos/heroiclabs/nakama","labels_url":"https://api.github.com/repos/heroiclabs/nakama/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/heroiclabs/nakama/issues/224/comments","events_url":"https://api.github.com/repos/heroiclabs/nakama/issues/224/events","html_url":"https://github.com/heroiclabs/nakama/issues/224","id":345662297,"node_id":"MDU6SXNzdWUzNDU2NjIyOTc=","number":224,"title":"Add API to query leaderboard rank and return nearby records","user":{"login":"handcircus","id":362730,"node_id":"MDQ6VXNlcjM2MjczMA==","avatar_url":"https://avatars3.githubusercontent.com/u/362730?v=4","gravatar_id":"","url":"https://api.github.com/users/handcircus","html_url":"https://github.com/handcircus","followers_url":"https://api.github.com/users/handcircus/followers","following_url":"https://api.github.com/users/handcircus/following{/other_user}","gists_url":"https://api.github.com/users/handcircus/gists{/gist_id}","starred_url":"https://api.github.com/users/handcircus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handcircus/subscriptions","organizations_url":"https://api.github.com/users/handcircus/orgs","repos_url":"https://api.github.com/users/handcircus/repos","events_url":"https://api.github.com/users/handcircus/events{/privacy}","received_events_url":"https://api.github.com/users/handcircus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T08:37:26Z","updated_at":"2018-07-31T03:59:46Z","closed_at":null,"author_association":"NONE","body":"Additions to the leaderboard API would allow a user to query their rank and neighbouring scores. \r\n\r\nThe API would need to return:\r\n\r\n* The player's numeric rank in the leaderboard\r\n* Player's record in leaderboard\r\n* Records above rank\r\n* Records below rank\r\n\r\nSuggested additional API parameters:\r\n\r\n* Reference to User\r\n* Count of records above player rank\r\n* Count of records below player rank \r\n\r\nThis is commonly used in titles such as Golf Clash and PSN leaderboards (screenshot below)\r\n![img_543d122c439c-1](https://user-images.githubusercontent.com/362730/43386503-b2556052-93db-11e8-8bc0-e81891152c22.jpeg)"},"comment":{"url":"https://api.github.com/repos/heroiclabs/nakama/issues/comments/409086981","html_url":"https://github.com/heroiclabs/nakama/issues/224#issuecomment-409086981","issue_url":"https://api.github.com/repos/heroiclabs/nakama/issues/224","id":409086981,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTA4Njk4MQ==","user":{"login":"dungttZonmob","id":41893028,"node_id":"MDQ6VXNlcjQxODkzMDI4","avatar_url":"https://avatars1.githubusercontent.com/u/41893028?v=4","gravatar_id":"","url":"https://api.github.com/users/dungttZonmob","html_url":"https://github.com/dungttZonmob","followers_url":"https://api.github.com/users/dungttZonmob/followers","following_url":"https://api.github.com/users/dungttZonmob/following{/other_user}","gists_url":"https://api.github.com/users/dungttZonmob/gists{/gist_id}","starred_url":"https://api.github.com/users/dungttZonmob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dungttZonmob/subscriptions","organizations_url":"https://api.github.com/users/dungttZonmob/orgs","repos_url":"https://api.github.com/users/dungttZonmob/repos","events_url":"https://api.github.com/users/dungttZonmob/events{/privacy}","received_events_url":"https://api.github.com/users/dungttZonmob/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T03:59:46Z","updated_at":"2018-07-31T03:59:46Z","author_association":"NONE","body":"I'm wishing this feature too !"}}
{"actor":{"display_login":"dungttZonmob"}}