public IRestRequest GenerateLeagueH2hMatchesRequest(int leagueId, int pageNum) { var resolvedUrl = VariableSubstitutor.SubstituteLeague(GlobalConfig.LeagueH2hMatchesPath, leagueId); resolvedUrl = VariableSubstitutor.SubstitutePage(resolvedUrl, pageNum); return(Build(resolvedUrl)); }
public IRestRequest GenerateLeagueH2hStandingsRequest(int leagueId) { var resolvedLeaguePath = VariableSubstitutor.SubstituteLeague(GlobalConfig.LeagueH2hPath, leagueId); return(Build(resolvedLeaguePath)); }