Reputation: 23
There's a player that probably hacked my game on the Google Play Store and submitted an incredibly high score. I would like to hide that player from the leaderboard but to do so I only found this: https://developers.google.com/games/services/management/api/players/hide and no other explanations on how to use it. Calling those HTTP requests via browser obviously doesn't work because an authentication is needed. What do I have to do to use those APIs to hide that player?
Upvotes: 1
Views: 903
Reputation: 36
For future strugglers as this is not well documented. You can hide players by adding a web application in your Google Play Console and using the OAuth Playground, to execute the REST APIs Scores: list and Players: hide to get player ids and hiding her/him.
For a thorough walkthrough see my article: https://gaute.app/dev-blog/gpgs-hide-player
Upvotes: 1
Reputation: 10294
You should POST
to hide and DELETE
to unhide. And you'll need a developer account. Everything is written in the doc
Upvotes: 0