| Constructor and Description |
|---|
JPubgImpl(String apiKey) |
JPubgImpl(String apiKey,
int connectionTimeout) |
| Modifier and Type | Method and Description |
|---|---|
String |
getByNickname(String nickname)
Retrieves player specified by nickname data from the PUBGTracker API
and returns it in JSON String format.
|
Player |
getByNickname(String nickname,
FilterCriteria criteria)
Retrieves player specified by nickname data from the PUBGTracker API
and filters it by specified criteria.
|
String |
getBySteamID(String steamID)
Retrieves player specified by steamID data from the PUBGTracker API
and returns it in JSON String format.
|
Player |
getBySteamID(String steamID,
FilterCriteria criteria)
Retrieves player specified by nickname data from the PUBGTracker API
and filters it by specified criteria.
|
Stat |
getPlayerMatchStatByStatName(Player player,
PUBGStat stat)
Filters stat by name from specified players matches from the latest season.
|
public JPubgImpl(String apiKey)
public JPubgImpl(String apiKey, int connectionTimeout)
public String getByNickname(@Nonnull String nickname)
JPubggetByNickname in interface JPubgnickname - nickname of the playerpublic Player getByNickname(@Nonnull String nickname, FilterCriteria criteria)
JPubggetByNickname in interface JPubgnickname - nickname of the playercriteria - filtering criteriapublic String getBySteamID(@Nonnull String steamID)
JPubggetBySteamID in interface JPubgsteamID - steamID of the playerpublic Player getBySteamID(@Nonnull String steamID, FilterCriteria criteria)
JPubggetBySteamID in interface JPubgsteamID - steamID of the playercriteria - filtering criteriapublic Stat getPlayerMatchStatByStatName(@Nonnull Player player, @Nonnull PUBGStat stat)
JPubggetPlayerMatchStatByStatName in interface JPubgplayer - steamID of the playerstat - specifies what stat you want to be filteredCopyright © 2017. All rights reserved.