Skip to main content
Version: 2.0.0

Leaderboard functions

Get Leaderboards

This function returns the available leaderboards

curl --location 'https://link.dynamicpixels.dev/game/[CLIENT ID]/server/services/leaderboard' \
--header 'Authorization: Bearer [PUT ACCESS TOKEN HERE]'

Get User Scores

The functions returns scores of users in a leaderboard with user participant.

curl --location 'https://link.dynamicpixels.dev/game/[CLIENT ID]/server/services/leaderboard/user/1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer [PUT ACCESS TOKEN HERE]'
--data '{}'

Get Party Scores

The functions returns scores of users in a leaderboard with party participant.

curl --location 'https://link.dynamicpixels.dev/game/[CLIENT ID]/server/services/leaderboard/party/1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer [PUT ACCESS TOKEN HERE]'
--data '{}'

Get User Score

This function returns the user score in a leaderboard

Get Friends Score

This function returns the friends scores of a user

Submit Score

This score will submit the score for a user.