Exemplo n.º 1
0
        public async Task <IApiResponse <List <ClanWarLog> > > GetWarLogsResponseAsync(string clanTag, ClanWarLogFilter clanWarLogFilter = null)
        {
            Ensure.ArgumentNotNullOrEmptyString(clanTag, nameof(clanTag));

            IApiResponse <List <ClanWarLog> > apiResponse =
                await _restApiClient.GetApiResponseAsync <List <ClanWarLog> >(UrlPathBuilder.GetClanWarLogUrl(clanTag), clanWarLogFilter?.ToQueryParams());

            return(apiResponse);
        }