| 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,
PUBGMode mode)
Retrieves player specified by nickname data from the PUBGTracker API
and filters it by specified mode.
|
Player |
getByNickname(String nickname,
PUBGMode mode,
PUBGRegion region)
Retrieves player specified by nickname data from the PUBGTracker API
and filters it by specified region and mode.
|
Player |
getByNickname(String nickname,
PUBGRegion region)
Retrieves player specified by nickname data from the PUBGTracker API
and filters it by specified region.
|
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,
PUBGMode mode)
Retrieves player specified by steamID data from the PUBGTracker API
and filters it by specified mode.
|
Player |
getBySteamID(String steamID,
PUBGMode mode,
PUBGRegion region)
Retrieves player specified by steamID data from the PUBGTracker API
and filters it by specified mode and region.
|
Player |
getBySteamID(String steamID,
PUBGRegion region)
Retrieves player specified by steamID data from the PUBGTracker API
and filters it by specified region.
|
public JPubgImpl(String apiKey)
public String getByNickname(String nickname) throws ApiException
JPubggetByNickname in interface JPubgnickname - nickname of the playerApiException - When something goes fatally wrong and response is NULLpublic Player getByNickname(String nickname, PUBGMode mode) throws ApiException
JPubggetByNickname in interface JPubgnickname - nickname of the playermode - specifies from what game mode you want the data to be retrieved
PUBGMode.solo
PUBGMode.duo
PUBGMode.squadApiException - When something goes fatally wrong and response is NULLpublic Player getByNickname(String nickname, PUBGRegion region) throws ApiException
JPubggetByNickname in interface JPubgnickname - nickname of the playerregion - specifies from what region you want the data to be retrieved
PUBGRegion.agg
PUBGRegion.as
PUBGRegion.na
PUBGRegion.eu
PUBGRegion.oc
PUBGRegion.saApiException - When something goes fatally wrong and response is NULLpublic Player getByNickname(String nickname, PUBGMode mode, PUBGRegion region) throws ApiException
JPubggetByNickname in interface JPubgnickname - nickname of the playermode - specifies from what game mode you want the data to be retrieved PUBGMode.solo PUBGMode.duo PUBGMode.squadregion - specifies from what region you want the data to be retrieved
PUBGRegion.agg
PUBGRegion.as
PUBGRegion.na
PUBGRegion.eu
PUBGRegion.oc
PUBGRegion.saApiException - When something goes fatally wrong and response is NULLpublic String getBySteamID(String steamID) throws ApiException
JPubggetBySteamID in interface JPubgsteamID - steamID of the playerApiException - When something goes fatally wrong and response is NULLpublic Player getBySteamID(String steamID, PUBGMode mode) throws ApiException
JPubggetBySteamID in interface JPubgsteamID - steamID of the playermode - specifies from what game mode you want the data to be retrieved
PUBGMode.solo
PUBGMode.duo
PUBGMode.squadApiException - When something goes fatally wrong and response is NULLpublic Player getBySteamID(String steamID, PUBGRegion region) throws ApiException
JPubggetBySteamID in interface JPubgsteamID - steamID of the playerregion - specifies from what region you want the data to be retrieved
PUBGRegion.agg
PUBGRegion.as
PUBGRegion.na
PUBGRegion.eu
PUBGRegion.oc
PUBGRegion.saApiException - When something goes fatally wrong and response is NULLpublic Player getBySteamID(String steamID, PUBGMode mode, PUBGRegion region) throws ApiException
JPubggetBySteamID in interface JPubgsteamID - steamID of the playermode - specifies from what game mode you want the data to be retrieved
PUBGMode.solo
PUBGMode.duo
PUBGMode.squadregion - specifies from what region you want the data to be retrieved
PUBGRegion.agg
PUBGRegion.as
PUBGRegion.na
PUBGRegion.eu
PUBGRegion.oc
PUBGRegion.saApiException - When something goes fatally wrong and response is NULLCopyright © 2017. All rights reserved.