Last active
March 14, 2019 04:24
-
-
Save realStandal/3176875bca6ee32edced680599350c47 to your computer and use it in GitHub Desktop.
CodersQuest sample leaderboard GET request response
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
{ | |
"user_token": "123XYZ", // JWT generated when the player logs in (located in the header of the request put here to illustrate) | |
"username": "test", // Player name | |
"user_score": 2468, // Found by adding all the player's score of each indavidual project together | |
"user_proj_scores": [ | |
{ | |
"level": 1, | |
"score": 1234 // The score in a particular level is found by converting the player's remaining time on a level to miliseconds | |
}, | |
{ | |
"level": 2, | |
"score": 1234 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment