Skip to main content

How to get JSON data for all members to create a leaderboard showing top 5 plus current member placement?

hey guys, Im trying to figure out how to create a leaderboard. Ive been trying to figure out how to get json data for all members to display the top 5 members and the placement of the current member. 

Getting the current members data is easy, but to get all members is leaving me scratching my head lol
any help would be appreciated, thanks

5 comments

  • Julian Galluzzo
    Julian Galluzzo

    JSON might be a hard way to do this - i dont think you can get the JSON of any member except for the logged in one - maybe if you could send a video of your setup and what youre trying to do, I can suggest another way?

    0
  • Matthew Sandoz
    Matthew Sandoz

    you can get jsons using the admin package but I really recommend against it. best way is to keep track of leaderboard separately in a db if you can

    0
  • Manuel Ogomigo
    Manuel Ogomigo

    Why not try something like this.

    1. Have a cms for leaderboards.
    2. Update each data to the cms as users take actions
    3. Show the leaderboard and top 5 members.
    0
  • Lahvjal Fuimaono
    Lahvjal Fuimaono OP

    Thank you guys! I will try the cms route.

    0
  • Josh Dean
    Josh Dean

    Lahvjal Fuimaono how did you get on with this?  I'm looking to do the same thing!

    0

Please sign in to leave a comment.

Sitemap