Package xyz.titanecho.topgamesapi
Klasse TopGamesClient
java.lang.Object
xyz.titanecho.topgamesapi.TopGamesClient
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
The main client for interacting with the Top-Games API.
This client is
Closeable and should be closed to release resources.-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleancheckVoteByIP(String ip) voidcheckVoteByIPAsync(String ip, TopGamesCallback<Boolean> callback) booleancheckVoteByUsername(String username) voidcheckVoteByUsernameAsync(String username, TopGamesCallback<Boolean> callback) voidclaimVoteBySteamId(String steamId) voidclaimVoteBySteamIdAsync(String steamId, TopGamesCallback<Void> callback) voidclaimVoteByUsername(String username) voidclaimVoteByUsernameAsync(String username, TopGamesCallback<Void> callback) voidclose()voidgetFullServerInfoAsync(TopGamesCallback<Server> callback) getPlayersRanking(String type) voidgetPlayersRankingAsync(String type, TopGamesCallback<List<PlayerRanking>> callback) voidgetServerAdvicesAsync(TopGamesCallback<List<Advice>> callback) voidgetServerInfoAsync(TopGamesCallback<Server> callback) voidgetServerStatsAsync(TopGamesCallback<List<Stat>> callback) voidgetUnclaimedVotesAsync(TopGamesCallback<List<Vote>> callback)
-
Methodendetails
-
close
public void close()- Angegeben von:
closein SchnittstelleAutoCloseable- Angegeben von:
closein SchnittstelleCloseable
-
getUnclaimedVotes
- Löst aus:
TopGamesException
-
getUnclaimedVotesAsync
-
claimVoteByUsername
- Löst aus:
TopGamesException
-
claimVoteByUsernameAsync
-
claimVoteBySteamId
- Löst aus:
TopGamesException
-
claimVoteBySteamIdAsync
-
getServerInfo
- Löst aus:
TopGamesException
-
getServerInfoAsync
-
getFullServerInfo
- Löst aus:
TopGamesException
-
getFullServerInfoAsync
-
getServerStats
- Löst aus:
TopGamesException
-
getServerStatsAsync
-
getPlayersRanking
- Löst aus:
TopGamesException
-
getPlayersRankingAsync
-
checkVoteByIP
- Löst aus:
TopGamesException
-
checkVoteByIPAsync
-
checkVoteByUsername
- Löst aus:
TopGamesException
-
checkVoteByUsernameAsync
-
getServerAdvices
- Löst aus:
TopGamesException
-
getServerAdvicesAsync
-