-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This new endpoint retrieves the user's personal best on a given map including scores before and after the PB. It will return a maximum of N = before + after + 1 scores if possible. The top N entries will be returned if the user has no PB yet. The following cURL example fetches a maximum of six scores: curl -X POST https://board.portal2.local/api-v2/top-scores \ -F "auth_hash=$BOARD_AUTH_HASH" \ -F "mapId=2" \ -F "before=3" \ -F "after=2"
- Loading branch information
Showing
2 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters