getPlayersByNames

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

Returns players filtered by in-game names for the given platform.

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

Return

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

Parameters

platform

Platform shard used for this request.

playerNames

One or more in-game names.


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

Returns players filtered by in-game names for the given platform.

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

Return

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

Parameters

playerNames

In-game names to query.

platform

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