public class DistrictRequest
extends java.lang.Object
Constructor and Description |
---|
DistrictRequest(DataRequest tba)
Creates a DistrictRequest object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getEventKeys(java.lang.String districtKey)
Makes API requests with the subdirectory
/district/{districtKey}/events/keys
|
Event[] |
getEvents(java.lang.String districtKey)
Makes API requests with the subdirectory
/district/{districtKey}/events
|
DistrictRanking[]
|
getRankings(java.lang.String districtKey)
Makes API requests with the subdirectory
/district/{districtKey}/rankings
|
SimpleEvent[] |
getSimpleEvents(java.lang.String districtKey)
Makes API requests with the subdirectory
/district/{districtKey}/events/simple
|
SimpleTeam[] |
getSimpleTeams(java.lang.String districtKey)
Makes API requests with the subdirectory
/district/{districtKey}/teams/simple
|
java.lang.String[] |
getTeamKeys(java.lang.String districtKey)
Makes API requests with the subdirectory
/district/{districtKey}/teams/keys
|
Team[] |
getTeams(java.lang.String districtKey)
Makes API requests with the subdirectory
/district/{districtKey}/teams
|
public DistrictRequest(DataRequest tba)
tba
- A DataRequest
object with the appropriate auth key
public Team[] getTeams(java.lang.String districtKey) throws java.io.IOException
/district/{districtKey}/teams
districtKey
- TBA District Key, e.g. 2016fim
Team
objects in the given district
java.io.IOException
public SimpleTeam[] getSimpleTeams(java.lang.String districtKey) throws java.io.IOException
/district/{districtKey}/teams/simple
districtKey
- TBA District Key, e.g. 2016fim
SimpleTeam
objects in the given district
java.io.IOException
public java.lang.String[] getTeamKeys(java.lang.String districtKey) throws java.io.IOException
/district/{districtKey}/teams/keys
districtKey
- TBA District Key, e.g. 2016fim
java.io.IOException
public DistrictRanking[] getRankings(java.lang.String districtKey) throws java.io.IOException
/district/{districtKey}/rankings
districtKey
- TBA District Key, e.g. 2016fim
DistrictRanking
s
for the given district
java.io.IOException
public Event[] getEvents(java.lang.String districtKey) throws java.io.IOException
/district/{districtKey}/events
districtKey
- TBA District Key, e.g. 2016fim
java.io.IOException
public SimpleEvent[] getSimpleEvents(java.lang.String districtKey) throws java.io.IOException
/district/{districtKey}/events/simple
districtKey
- TBA District Key, e.g. 2016fim
java.io.IOException
public java.lang.String[] getEventKeys(java.lang.String districtKey) throws java.io.IOException
/district/{districtKey}/events/keys
districtKey
- TBA District Key, e.g. 2016fim
java.io.IOException