Package-level declarations

Types

Link copied to clipboard

The way by which this player died in a match, or alive if they didn't

Link copied to clipboard
enum Map : Enum<Map>
Link copied to clipboard
data class Match(val id: String, val titleId: String, val platform: Platform, val isCustomMatch: Boolean, val matchType: MatchType, val gameMode: MatchGameMode, val mapName: Map, val seasonState: SeasonState, val createdAt: Instant, val duration: Int, val participants: List<MatchParticipant>)
Link copied to clipboard

PUBG Game Modes

Link copied to clipboard
data class MatchParticipant(val teamId: Int, val rank: Int, val won: Boolean, val players: List<MatchPlayer>)

MatchParticipant track the scores of each opposing group of participants. players can have one or many participants depending on the game mode. MatchParticipant objects are only meaningful within the context of a match and are not exposed as a standalone resource

Link copied to clipboard
data class MatchPlayer(val id: String, val name: String, val dbnos: Int, val assists: Int, val boosts: Int, val damageDealt: Double, val deathType: DeathType, val headshotKills: Int, val heals: Int, val killPlace: Int, val killStreaks: Int, val kills: Int, val longestKill: Double, val revives: Int, val rideDistance: Double, val roadKills: Int, val swimDistance: Double, val teamKills: Int, val timeSurvived: Int, val vehicleDestroys: Int, val walkDistance: Double, val weaponsAcquired: Int, val winPlace: Int)

Represents a player in a specific match

Link copied to clipboard

PUBG Match type

Link copied to clipboard

State of the season

Functions

Link copied to clipboard
suspend fun PubgApi.getMatchById(matchId: String, platform: Platform = Platform.STEAM): Match

Returns a single Match by their match ID.