コード例 #1
0
    public IRestRequest GenerateLeagueH2hMatchesRequest(int leagueId, int pageNum)
    {
        var resolvedUrl = VariableSubstitutor.SubstituteLeague(GlobalConfig.LeagueH2hMatchesPath, leagueId);

        resolvedUrl = VariableSubstitutor.SubstitutePage(resolvedUrl, pageNum);
        return(Build(resolvedUrl));
    }
コード例 #2
0
    public IRestRequest GenerateLeagueH2hStandingsRequest(int leagueId)
    {
        var resolvedLeaguePath = VariableSubstitutor.SubstituteLeague(GlobalConfig.LeagueH2hPath, leagueId);

        return(Build(resolvedLeaguePath));
    }