public interface SportsInfo
SportEvent
s and Tournament
s.Modifier and Type | Method and Description |
---|---|
List<Tournament> |
getActiveTournaments() |
List<Tournament> |
getActiveTournaments(String sport) |
List<SportEvent> |
getLiveSportEvents() |
SportEvent |
getSportEvent(String id)
Get the details about the specified SportEvent.
|
List<SportEvent> |
getSportEventsFor(Date date) |
List<Sport> |
getSports() |
List<Sport> getSports() throws Exception
Exception
- if the RESTful service is unavailable and a cached copy has not been
obtained yetList<Tournament> getActiveTournaments() throws Exception
Exception
- if the RESTful service is unavailable and a cached copy has not been
obtainedList<Tournament> getActiveTournaments(String sport) throws Exception
sport
- the sport to return all active tournaments forException
- if the RESTful service is unavailable and a cached copy has not been
obtainedList<SportEvent> getSportEventsFor(Date date) throws Exception
date
- the date for which to list all active SportEventsException
- if the RESTful service is currently unavailableList<SportEvent> getLiveSportEvents() throws Exception
Exception
- if the RESTful service is unavailable and a cached copy has not been
obtainedSportEvent getSportEvent(String id)
id
- - the id of the specified sport eventCopyright © 2016–2017. All rights reserved.