Retrieve scores
Query for scores
GET https://api.highscore.public-function.org/v1/board/:board
Query for scores of the highscore board.
Path Parameters
board
string
Unique identifier of the highscore board.
Query Parameters
offset
integer
Number of scores to skip.
limit
integer
Number of score positions.
Headers
Highscore-Secret
string
Keep this one a secret
Highscore-Api-Key
string
Api key
{
"scores": [
{},
{}
]
}Query for scores around user
GET https://api.highscore.public-function.org/v1/board/:board/user/:user
Query for scores around the user.
Path Parameters
user
string
Unique identifier of the user in your data model.
board
string
Unique identifier of the highscore board.
Query Parameters
less
number
Number of highscore positions with fewer score points.
more
integer
Number of highscore positions with more score points.
Headers
Highscore-Secret
string
Keep this one a secret
Highscore-Api-Key
string
Api key
Query for scores around position
GET https://api.highscore.public-function.org/v1/board/:board/position/:position
Query for scores around the highscore position.
Path Parameters
position
integer
Position in highscore board.
board
string
Unique identifier of the highscore board.
Query Parameters
more
integer
Number of highscore positions with more score points.
less
integer
Number of highscore positions with fewer score points.
Headers
Highscore-Secret
string
Keep this one a secret
Highscore-Api-Key
string
Api Key
Last updated
Was this helpful?