Leaderboard Provisioning
A 3-step recipe with Unity. We can help you get access.
Recipe · 3 steps
Leaderboard Provisioning
with Unity
Create a leaderboard, seed an initial score, and read the rankings.
- Create the leaderboard definition with the supplied id and sort order.
- Submit a seed score for a player so the new leaderboard has at least one ranked entry.
- Read the top scores from the new leaderboard to confirm the seed entry is ranked.
What you'll need to have ready
- accessToken: Bearer JWT for the service account performing the provisioning.
- projectId: The Unity project identifier.
- environmentId: The Unity environment identifier.
- leaderboardId: The id to assign to the new leaderboard.
- leaderboardName: Optional display name for the leaderboard.
- sortOrder: Score sort order, either asc or desc.
- seedPlayerId: The player id used to seed an initial score.
- seedScore: The initial score value to seed.
For your developer
Arazzo workflow unity:leaderboard-provision, 3 operations: createLeaderboard → addLeaderboardPlayerScore → getLeaderboardScores. Specs on APIs.io.