コード例 #1
0
        public async Task <ApiResponse <ClanWar> > GetWarResponseAsync(string clanTag, ClanWarFilter clanWarFilter = null)
        {
            Ensure.ArgumentNotNullOrEmptyString(clanTag, nameof(clanTag));

            var apiResponse = await _restApiClient.GetApiResponseAsync <ClanWar>(UrlPathBuilder.GetClanWarUrl(clanTag), clanWarFilter?.ToQueryParams());

            return(apiResponse);
        }