question

marad747 avatar image
marad747 asked

list of players,get list of Players

how i can get list of all players??

,

how i can get list of all players??

Player Data
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

·
brendan avatar image
brendan answered

One of two ways - either query on the "All Players" segment via https://api.playfab.com/documentation/Admin/method/GetPlayersInSegment, or else use PlayStream (either via webhooks or the event history) to get the stream of all player-related events directly, so that you can have your own local store of all player-related data.

1 comment
10 |1200

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

gonzalocuadra avatar image gonzalocuadra commented ·

Hi Brendan, is this still the only alternative?

In my case I need a way to get the list of playerIds (just that field), I was thinking of using GetPlayersInSegment but it contains a lot of information that I don't need, and in the documentation I can't find a way to filter only the fields I need. Thank you!

0 Likes 0 ·

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.