How to get more than 100 results from leaderbord on js

0 votes

Good day. Few days ago I find out how to get more than 100 results from leaderboard on php with getTopNRankings method and offsets. Thank you for your help. But I faced this problem again. Now I need to fetch more than 100 results on frontent. ~5000 results. I have to do this on javascript. Hope to get an assistance from you.

asked Dec 4, 2017 in JavaScript by tomislav (17 points)

1 Answer

0 votes



Please use this javascript getTopNRankings API and set the offset by using the below code snippet to fetch the record more than 100.

Please find the code snippet for Offset/paging code snippet:

var otherMetaHeaders = {}

otherMetaHeaders["offset"] = 1

If you have any other queries please do feel free to reach out to us.

We will be happy to help you.



Priyanka Singh

App42 Team

answered Dec 5, 2017 by anonymous
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