Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Latest commit

 

History

History
50 lines (37 loc) · 1.62 KB

utils_pubg-api.md

File metadata and controls

50 lines (37 loc) · 1.62 KB

pubg-api Util

Deals with requests to the pubg-api

getPlayerMatches(player, shards)promise

gets player matches

getMatchListData(matchesIdArr, shards)promise

gets multiple matches data and returns array of matches objects

getMatchData(matchID, shards)promise

gets match data

getPlayerMatches(player, shards) ⇒ promise

gets player matches

Kind: global function

Param Type Default Description
player string player name - case sensitive
shards string "pc-eu" platform-server (pc-eu/pc-na...)

getMatchListData(matchesIdArr, shards) ⇒ promise

gets multiple matches data and returns array of matches objects

Kind: global function

Param Type Default Description
matchesIdArr array [matchesIDs]
shards string "pc-eu" platform-server (pc-eu/pc-na...)

getMatchData(matchID, shards) ⇒ promise

gets match data

Kind: global function

Param Type Default Description
matchID string match id
shards string "pc-eu" platform-server (pc-eu/pc-na...)