Documentation

Leaderboards

Leaderboards

Create a leaderboard under Rankings, then your app submits a score when a player finishes a game. Refer to it by its key (here high-score), so the same code works with your test and live keys.

In your app, with the SDK
// Kept on the device with its time, sent now or once back online. Never throws.
BeeAppieSdk.Instance.Leaderboards.SubmitScore("high-score", 1200);

// MAUI, show it with the ready-made page (BeeAppie.Maui.UI):
await Navigation.PushAsync(PageFactory.GetLeaderboardPage("high-score"));

// Or your own screen (any .NET app); offline, the last copy (IsUpToDate false):
var board = await BeeAppieSdk.Instance.Leaderboards.LoadAsync("high-score", top: 10);
// Kept on the device with its time, sent now or once back online. Never throws.
BeeAppie.leaderboards.submitScore("high-score", 1200.0)

// Show it with the ready-made screen (beeappie-ui):
BeeAppieUI.openLeaderboard(context, "high-score")

// Or your own screen, in a coroutine; offline, the last copy (isUpToDate false):
val board = BeeAppie.leaderboards.load("high-score", top = 10)
// Kept on the device with its time, sent now or once back online. Never throws.
BeeAppieSDK.leaderboards.submitScore("high-score", 1200)

// Show it with the ready-made screen (BeeAppieUI):
BeeAppieUI.present(.leaderboard("high-score"))   // AppKit: BeeAppieUI.open(…)

// Or your own screen; offline, the last copy (isUpToDate false):
let board = await BeeAppieSDK.leaderboards.load("high-score", top: 10)
// Kept on the device with its time, sent now or once back online. Never throws.
await BeeAppie.leaderboards.submitScore('high-score', 1200);

// Show the leaderboards with the ready-made screen:
BeeAppie.openScreen(BeeAppieScreen.rankings);

// Or your own screen; offline, the last copy (isUpToDate false):
final board = await BeeAppie.leaderboards.load('high-score', top: 10);
// Kept on the device with its time, sent now or once back online. Never throws.
await BeeAppie.leaderboards.submitScore('high-score', 1200);

// Show the leaderboards with the ready-made screen:
BeeAppie.openScreen('rankings');

// Or your own screen; offline, the last copy (isUpToDate false):
const board = await BeeAppie.leaderboards.load('high-score', 'current', 10);
// Kept on the device with its time, sent now or once back online. Never throws.
BeeAppieSdk.Leaderboards.SubmitScore("high-score", 1200);
var board = await BeeAppieSdk.Leaderboards.LoadAsync("high-score", top: 10);   // offline: the last copy
Or with the HTTP API
POST /v1/rankings/high-score/entries
{ "score": 1200, "at": "2026-11-22T21:00:00Z" }

GET /v1/rankings/high-score/entries?top=10
GET /v1/rankings/high-score/entries?top=10&season=previous

With the usual headers: your app key, and the user's token.

  • A leaderboard keeps either each player's best score, or their 10 best: a score lower than all of them is not added.
  • With a start or an end, scores outside them are refused with the error ranking_not_open: tell the player the competition hasn't started or is over. IsOpen on the leaderboard says which it is now.
  • With repeating seasons, each season starts empty and scores count in the season they were made. Ask for season=previous (or a key from /seasons) to show past winners; CurrentSeason says when this one ends. /seasons lists what players can look back at, each with Name: the name your team gave it in the dashboard ("Yesterday", "Round 12"), in the player's language, or none: then use your own words (the SDKs' SeasonsAsync / seasons() keep it for offline).
  • Offline, the SDKs keep each score with the time it was made and send it later, in batches (POST /v1/rankings/batch, each with its at). A score still counts in the season it was made, also one that has ended since, if it arrives within 7 days; older ones are dropped. A score kept on the device shows as the player's new best in the ready-made screen until it's sent. client.submitScore stays for an answer (the entry and its position) at once.

Ready when you are

BeeAppie opens to new apps soon. Leave your email and we will tell you when you can sign up.

Join the waitlist SDKs and downloads