LeaderBoard Service need getLastScoreByGroup

0 votes
Hi , me again:

We notcied there is a function call: Get Last Score By User.

But the project we are working on really needs  a function call getLastScoreByGroup, where the Group is the list of user names.

The situation is A have 100 friends, and a wants to get all his friends last score for a game, then he has to call Get Last Score By User for each of his friend and the performance of this method won't be very good.

Could you please add this function call?

Thanks
asked Oct 26, 2014 in Discuss & suggest API by Bob Anoop (19 points)
recategorized Oct 27, 2014 by sushil

1 Answer

0 votes

Hello Bob,

Thanks for your suggesstion. Right now, we don’t have any plan for this however we have recorded your request and put in a backlog. If we get more request on it, we will plan it for release and update you accordingly.

Thanks,

Himanshu Sharma

answered Oct 27, 2014 by hs00105 (2,005 points)
Hmm, in that way, could you suggest us with some walk around method to deal with it? now it is too slow to request data for each user.

Thanks
The same functionality (getting the score of all friends using Get Last Score By User function) you can implement in custom code and return the result of array as a response from custom code. This process is faster as there is server to server communication. Kindly have a look at the below link which will help you in integrating the custom code.

http://api.shephertz.com/tutorial/Server-Side-Custom-Code/?index=customcode-wrd
 
Let us know if you it helps.
Thanks,
Himanshu Sharma
Hello Bob,

I hope your query has been resolved, kindly let us know if you have more questions for us.
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
...