Get top 10 score time

0 votes

If my score is time in milliseconds the best score is the lowest time. How can I get top 10 lowest score?

related to an answer for: Score board save time as score
asked Jul 31, 2014 in App42 Cloud API-BaaS by alissonsalin (30 points)

1 Answer

0 votes
Best answer
Hi Alissonsalin,
To get the top 10 lowest scores, you need to call getTopNRankers API.
And before that you need to set other meta headers by calling setOtherMetaHeaders API on scoreboardService and in those meta headers, you have to put orderByAscending as key and score as value.
Please click here to see the example.
answered Jul 31, 2014 by naresh (350 points)
selected Jul 31, 2014 by alissonsalin
It works! Thank you!
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on