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
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...) |
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...) |
gets match data
Kind: global function
Param | Type | Default | Description |
---|---|---|---|
matchID | string |
match id | |
shards | string |
"pc-eu" |
platform-server (pc-eu/pc-na...) |