getPlayersById

suspend fun PubgApi.getPlayersById(vararg accountIds: String, platform: Platform = Platform.STEAM): List<Player>

Returns players filtered by account IDs for the given platform.

Delegates to getPlayersById with a list. PUBG allows a maximum of 10 ids per request; extra ids are ignored.

Return

A list of matching Player, or an empty list when no ids are provided.

Parameters

platform

Platform shard used for this request.

accountIds

One or more account IDs.


suspend fun PubgApi.getPlayersById(accountIds: List<String>, platform: Platform = Platform.STEAM): List<Player>

Returns players filtered by account IDs for the given platform.

PUBG allows a maximum of 10 ids per request; extra ids are ignored.

Return

A list of matching Player, or an empty list when accountIds is empty.

Parameters

accountIds

Account IDs to query.

platform

Platform shard used for this request. Defaults to Platform.STEAM.