getPlayerByAccountId

suspend fun PubgApi.getPlayerByAccountId(accountId: String, platform: Platform = Platform.STEAM): Player

Returns a single player by their account ID.

Return

The Player for the given account ID.

Parameters

accountId

The player's unique account ID (e.g. "account.abc123").

platform

The shard platform to query. Defaults to dev.pubgkt.Platform.STEAM.

See also