I want to implement regional leaderboards by country, and I want to create them dynamically as needed since my users will be traveling a lot.
I tried using PlayFabServerAPI.UpdatePlayerStatistics and it does create a statistic if it doesn't exist, but I have no way to know if it was created or if it already existed and there's also no way to specify the reset frequency nor the aggregation method which I would need to be monthly and sum.
So my flow has to be something like check if statistic exist -> create if not -> update player, that's 3 request in the worst scenario and 2 in the best and for that I would need to use the admin API (PlayFabAdminAPI.GetPlayerStatisticDefinitions, PlayFabAdminAPI.CreatePlayerStatisticDefinition) which I don't know how frequently can I use before hitting the limits (which I guess it exists).
Is there a better way to solve my problem? Thanks.