Hello!
Which is the best practice for getting all members data? For example, for listing all the members of a clan, with some statistic, display name, etc.
I have been thinking about saving a statistic like: "clan-id" + "_level" when a player join a clan.
Then, i could get a leaderboard for a clan, with one single call, and using constraints get some data.
Is any feature coming about this for clans, or is this practice suitable for my needs?
Thanks!
Answer by pfnathan · Apr 09, 2018 at 06:41 PM
At the moment, You cannot do bulk loads of your data but we are working on something like "a bulk fetch API". Will post an update once new API gets in.
That sounds good. But meanwhile, do you have any tip about this?
Any help is welcome.
Thank you very much.
Ideally, from our side, it would be a bulk load of the player profile so you could get statistic values etc., it's just that we don't have an API for that yet. But, you are on the right track with the leaderboard because we get profiles with the leaderboard. Will get back to you.
I did it before publishing the comment :)
Then, should i make a lof of calls for getting the clan members, till the "bulk fetch API" is ready? Just for giving the shape to the "social part" of my game.
Thanks!
The only solution for the moment is to request each one; it's a high priority item which we are working on right now. Will post an update once fix complets.