question

Rajan avatar image
Rajan asked

How can we get custom event data using API written by write player event client API?

We would like to show custom event data posted using write player event client API, please let us know using which API we can get that data. We have tried access using get User Publisher Data API, Get Player Statastics and also through web hook but no luck. We are able to write custom event data but not able to access it.

apis
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Ivan Cai avatar image
Ivan Cai answered

Currently, playfab does not provide APIs to directly obtain custom data of custom events.The WritePlayerEvent API is used to write a player-based event into playstream.You can directly access the custom data in playstream,there is a related thread that can help you. Or, you can navigate to [Game Manager]->[Data] ->[Data Explorer] and query this custom event in Data Explorer.You can also query Playfab insights from an Azure function using the Kusto C# SDK.For more operations, please refer to Connecting Kusto C# SDK to Insights - PlayFab | Microsoft Docs .

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.