public interface JPubg
| 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.
|
String getByNickname(String nickname) throws IOException, BadResponseCodeException
nickname - nickname of the playerIOException - When there are input/output stream related problemsBadResponseCodeException - When server returns other code than 200 OKPlayer getByNickname(String nickname, FilterCriteria criteria) throws IOException, BadResponseCodeException
nickname - nickname of the playercriteria - filtering criteriaIOException - When there are input/output stream related problemsBadResponseCodeException - When server returns other code than 200 OKString getBySteamID(String steamID) throws IOException, BadResponseCodeException
steamID - steamID of the playerIOException - When there are input/output stream related problemsBadResponseCodeException - When server returns other code than 200 OKPlayer getBySteamID(String steamID, FilterCriteria criteria) throws IOException, BadResponseCodeException
steamID - steamID of the playercriteria - filtering criteriaIOException - When there are input/output stream related problemsBadResponseCodeException - When server returns other code than 200 OKCopyright © 2017. All rights reserved.