public class Dota2Match extends Dota2WebApiInterface
Dota2Match class.
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
Dota2Match(SteamWebApiClient client)
Constructor for Dota2Match.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureBuilder(com.google.gson.GsonBuilder builder)
Override this method if you need to perform additional configurations against the builder (e.g.
|
CompletableFuture<List<Dota2League>> |
getLeagueListing()
getLeagueListing.
|
CompletableFuture<List<Dota2LiveLeagueGame>> |
getLiveLeagueGames()
getLiveLeagueGames.
|
CompletableFuture<List<Dota2LiveLeagueGame>> |
getLiveLeagueGames(int leagueId,
int matchId)
getLiveLeagueGames.
|
CompletableFuture<Dota2MatchDetails> |
getMatchDetails(long matchId)
getMatchDetails.
|
CompletableFuture<Dota2MatchHistory> |
getMatchHistory()
getMatchHistory.
|
CompletableFuture<Dota2MatchHistory> |
getMatchHistory(Dota2MatchHistoryCriteria criteria)
getMatchHistory.
|
CompletableFuture<List<Dota2MatchDetails>> |
getMatchHistoryBySequenceNum(long startSeqNum,
int matchesRequested)
getMatchHistoryBySequenceNum.
|
CompletableFuture<List<Dota2MatchTeamInfo>> |
getTeamInfoById(int startTeamId,
int maxTeamCount)
getTeamInfoById.
|
CompletableFuture<List<Dota2TopLiveGame>> |
getTopLiveGame(int partner)
getTopLiveGame.
|
asCollectionOf, asListOf, getValidResult
asCollectionOf, builder, fromJson, fromJson, handleError, sendRequest
public Dota2Match(SteamWebApiClient client)
Constructor for Dota2Match.
client
- a SteamWebApiClient
objectprotected void configureBuilder(com.google.gson.GsonBuilder builder)
Override this method if you need to perform additional configurations against the builder (e.g. Register custom deserializers)
configureBuilder
in class AbstractWebApiInterface<SteamWebApiClient,Dota2WebApiRequest,Dota2WebApiResponse>
builder
- A GsonBuilder
instance that will be accessed and configured by a concrete AbstractWebApiInterface
implementationpublic CompletableFuture<List<Dota2League>> getLeagueListing()
getLeagueListing.
CompletableFuture
objectpublic CompletableFuture<List<Dota2LiveLeagueGame>> getLiveLeagueGames()
getLiveLeagueGames.
CompletableFuture
objectpublic CompletableFuture<List<Dota2LiveLeagueGame>> getLiveLeagueGames(int leagueId, int matchId)
getLiveLeagueGames.
leagueId
- a intmatchId
- a intCompletableFuture
objectpublic CompletableFuture<List<Dota2TopLiveGame>> getTopLiveGame(int partner)
getTopLiveGame.
partner
- a intCompletableFuture
objectpublic CompletableFuture<Dota2MatchDetails> getMatchDetails(long matchId)
getMatchDetails.
matchId
- a longCompletableFuture
objectpublic CompletableFuture<Dota2MatchHistory> getMatchHistory()
getMatchHistory.
CompletableFuture
objectpublic CompletableFuture<Dota2MatchHistory> getMatchHistory(Dota2MatchHistoryCriteria criteria)
getMatchHistory.
criteria
- a Dota2MatchHistoryCriteria
objectCompletableFuture
objectpublic CompletableFuture<List<Dota2MatchDetails>> getMatchHistoryBySequenceNum(long startSeqNum, int matchesRequested)
getMatchHistoryBySequenceNum.
startSeqNum
- a intmatchesRequested
- a intCompletableFuture
objectpublic CompletableFuture<List<Dota2MatchTeamInfo>> getTeamInfoById(int startTeamId, int maxTeamCount)
getTeamInfoById.
startTeamId
- a intmaxTeamCount
- a intCompletableFuture
objectCopyright © 2016–2024. All rights reserved.