public async Task <VocabulariesSummary> List(VocabulariesQuery query)
        {
            var parameters = query.ToParameters();

            return(await Client.Get <VocabulariesSummary>($"{ApiKeys.Endpoint}vocabulary", ApiKeys.ApiToken, parameters).ConfigureAwait(false));
        }
Ejemplo n.º 2
0
        public async Task <VocabulariesSummary> List(VocabulariesQuery query, CancellationToken cancellationToken = default(CancellationToken))
        {
            var parameters = query.ToParameters();

            return(await apiConnection.Get <VocabulariesSummary>($"/vocabulary", parameters, HttpMessageTransformer, cancellationToken).ConfigureAwait(false));
        }