public class MatchRequest
extends java.lang.Object
| Constructor and Description |
|---|
MatchRequest(DataRequest tba)
Creates a MatchRequest object
|
| Modifier and Type | Method and Description |
|---|---|
Match |
getMatch(java.lang.String matchKey)
Makes API requests with the subdirectory
/match/{matchKey} |
SimpleMatch |
getSimpleMatch(java.lang.String matchKey)
Makes API requests with the subdirectory
/match/{matchKey}/simple
|
public MatchRequest(DataRequest tba)
tba - A DataRequest
object with the appropriate auth key
public Match getMatch(java.lang.String matchKey) throws java.io.IOException
/match/{matchKey}matchKey - TBA Match Key, e.g. 2016nytr_qm1Match
object for the given match key
java.io.IOExceptionpublic SimpleMatch getSimpleMatch(java.lang.String matchKey) throws java.io.IOException
/match/{matchKey}/simple
matchKey - TBA Match Key, e.g. 2016nytr_qm1SimpleMatch
object for the given match key
java.io.IOException