public StatsService(
            ILeagueApiConfiguration config)
            : base(config, VersionEnum.V1Rev3, "stats")
        {
            RankedStats.CreateMap(AutoMapperService);
            PlayerStatsSummary.CreateMap(AutoMapperService);

#if DEBUG
            AutoMapperService.AssertConfigurationIsValid();
#endif
        }
Beispiel #2
0
        public async void RetrieveRankedStatsTest()
        {
            RankedStats rankedStats = await golf1052.RetrieveRankedStats(CreepScore.Season.Season3);

            Assert.Equal(26040955, rankedStats.summonerId);
        }