I'd like to export player and character non-event data (inventory, virtual currency, etc) into a data warehouse so that it sits next to the event data that comes from the Event Export. I see articles about exporting single player data using the various API endpoints but not all player data at a time. Is this possible to automate through the API or some other method? Thanks.
Answer by Made Wang · May 16 at 08:38 AM
PlayFab does not support exporting data of all players at once, you can export the data of a single player each time through ExportMasterPlayerData, please refer to PlayFab GDPR - Deleting and Exporting Player Data - PlayFab | Microsoft Docs.
Regarding automated export, you can create a Scheduled Task that runs an Azure Function Cloud Script on Segment All Players to call ExportMasterPlayerData.
Answer by NantData · May 16 at 04:18 PM
Thanks @Made Wang for the advice. Using the automation you suggested above I would be iterating over each player and pulling their details from ExportMasterPlayerData. According to https://docs.microsoft.com/en-us/gaming/playfab/features/automation/cloudscript-af/quickstart#execution-limits there are pull limits per sec. Is there a chance I could hit these counts/sec limits if I go this route? Thanks.
This is not the count limit, it's PlayFab's limit on the execution time of the Azure Function. Also, if the Azure Function triggered by Http times out, then you can try the Azure Function triggered by the queue.
How to sync Player Key Value Data from Playfab with photon customization?, 1 Answer
Choose a logo from set of logos for the user from the client side - How to use pics in playfab? 1 Answer
How to give player EXP after battle? and How to reward player after level up? 1 Answer
Inventory with large custom data. Initialization and updates. 1 Answer