How to delete or recreate a leaderboard game programmatically.

0 votes
I want to refresh the leaderboard monthly, I am thinking to delete or recreate the game.

Can I achieve this progammatically? Is there better approach?

Thanks.
asked Feb 17, 2015 in App42 Cloud API-BaaS by tianyi (15 points)

2 Answers

0 votes
I also need to refresh by week.

I try call Get Top Ranker By Date.

It works right. But, today, it not works.
answered Feb 18, 2015 by igteam2014 (10 points)
Could you please let us know, are you getting any exception while fetching the records from leaderboard. It will help us to provide better support to you.
Thanks,
Himanshu Sharma
I did email for support. I 'm waiting for result from your service.
Thanks for sharing the details & reporting a bug. We have resolved it from our side and the patch is available.

Kindly check & let us know if it helps.
Himanshu Sharma
0 votes

Hello Tianyi,

You can use get top n ranker by date method to find the leaderboard to achieve your objective.  Please have at this link for the code snippet and let me know if it helps.

Thanks,

Himanshu Sharma

 

answered Feb 18, 2015 by hs00105 (2,005 points)
Hello Tianyi,

Could you please let me know in which SDK you are working on?
Thanks,
Himanshu Sharma
App42_JAVA_SDK_2.5.1
In the previous talk, you mentioned in the march release, delete game function will be added.
Hello Tianyi,

It will be live by tomorrow end of the day. Thanks for your patience.

Himanshu Sharma
Great, thanks!
Hello Tianyi,

Kindly find the latest release from the below link which contain the delete game method. Please check and let us know if it helps.
https://github.com/shephertz/App42_JAVA_SDK

Thanks,
Himanshu Sharma
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 support@shephertz.com
...