Leaderboards #

The Leaderboards system manages competitive player rankings based on scores. Learn more in the Leaderboards concept guide.

Overview #

The Leaderboards system enables your game to:

  • Retrieve defined leaderboards.
  • Track and display player rankings.

Before You Start #

Make sure you have:

  • Python project configured with Hiro SDK.
  • Nakama system integrated (guide).

Working with Leaderboards #

Retrieving Leaderboards #

Get the list of leaderboards configured for the game:

1
2
leaderboard_config_list = await hiro_client.leaderboards_config_get()
print(leaderboard_config_list)