def leagueSeasonEvents(league_id: str, season: str): """ Get the Events for this league identified by the `league_id` for the `season` specified. """ return make_request(TSD.LEAGUE_SEASON_EVENTS, l=league_id, s=season) ...
def allLeagues(): """ Retrieve all leagues for all sports provided by the API. Returns a dict object with the json data obtained. """ return make_request(TSD.ALL_LEAGUES) ...
def eventInfo(event_id: str): """ Get the Event Details for this event specified by the `event_id` """ return make_request(TSD.EVENT, id=event_id) ...
def eventResult(event_id: str): """ Get the Event Results for this event specified by the `event_id` """ return make_request(TSD.EVENT_RESULT, id=event_id) ...
def lastLeagueEvents(league_id: str): """ Get the last 15 Events for this league identified by the `league_id` """ return make_request(TSD.LEAGUE_LAST_EVENTS, id=league_id) ...
def allSports(): """ Get all sports provided by the API. """ return make_request(TSD.ALL_SPORTS) ...
def teamInfo(team_id: str): """ Get the information for this team identified by the `team_id` """ return make_request(TSD.TEAM, id=team_id) ...
def leagueTeams(league_id: str): """ Get all teams for the league identified by `league_id` """ return make_request(TSD.LEAGUE_TEAMS, id=league_id) ...
def allCountries(): """ Get all countries information. """ return make_request(TSD.ALL_COUNTRIES) ...
def leagueSeasonTable(league_id: str, season: str): """ Retrieve the League's Table Standing for the Particular Season Specified. """ return make_request(TSD.LEAGUE_SEASON_TABLE, l=league_id, s=season) ...