client.Search.GetAsync(SearchGetRequest { ... }) -> OneOf
-
-
-
Searches for articles based on specified criteria such as keyword, language, country, source, and more.
-
-
-
await client.Search.GetAsync( new SearchGetRequest { Q = "technology AND (Apple OR Microsoft) NOT Google", SearchIn = "title_content, title_content_translated", IncludeTranslationFields = true, PredefinedSources = "top 100 US, top 5 GB", From = new DateTime(2024, 07, 01, 00, 00, 00, 000), To = new DateTime(2024, 07, 01, 00, 00, 00, 000), IncludeNlpData = true, HasNlp = true, Theme = "Business,Finance", NotTheme = "Crime", IptcTags = "20000199,20000209", NotIptcTags = "20000205,20000209", IabTags = "Business,Events", NotIabTags = "Agriculture,Metals", CustomTags = "Tag1,Tag2,Tag3", } );
-
-
-
request:
SearchGetRequest
-
-
client.Search.PostAsync(SearchPostRequest { ... }) -> OneOf
-
-
-
Searches for articles based on specified criteria such as keyword, language, country, source, and more.
-
-
-
await client.Search.PostAsync( new SearchPostRequest { Q = "renewable energy", PredefinedSources = new List<string>() { "top 50 US" }, Lang = new List<string>() { "en" }, From = new DateTime(2024, 01, 01, 00, 00, 00, 000), To = new DateTime(2024, 06, 30, 00, 00, 00, 000), AdditionalDomainInfo = true, IsNewsDomain = true, } );
-
-
-
request:
SearchPostRequest
-
-
client.Latestheadlines.GetAsync(LatestHeadlinesGetRequest { ... }) -> OneOf
-
-
-
Retrieves the latest headlines for the specified time period. You can filter results by language, country, source, and more.
-
-
-
await client.Latestheadlines.GetAsync( new LatestHeadlinesGetRequest { PredefinedSources = "top 100 US, top 5 GB", IncludeTranslationFields = true, IncludeNlpData = true, HasNlp = true, Theme = "Business,Finance", NotTheme = "Crime", IptcTags = "20000199,20000209", NotIptcTags = "20000205,20000209", IabTags = "Business,Events", NotIabTags = "Agriculture,Metals", CustomTags = "Tag1,Tag2,Tag3", } );
-
-
-
request:
LatestHeadlinesGetRequest
-
-
client.Latestheadlines.PostAsync(LatestHeadlinesPostRequest { ... }) -> OneOf
-
-
-
Retrieves the latest headlines for the specified time period. You can filter results by language, country, source, and more.
-
-
-
await client.Latestheadlines.PostAsync( new LatestHeadlinesPostRequest { Lang = "en", PredefinedSources = new List<string>() { "top 50 US", "top 20 GB" }, IsOpinion = false, PageSize = 10, } );
-
-
-
request:
LatestHeadlinesPostRequest
-
-
client.BreakingNews.BreakingNewsGetAsync(BreakingNewsGetRequest { ... }) -> BreakingNewsResponseDto
-
-
-
Retrieves breaking news articles and sorts them based on specified criteria.
-
-
-
await client.BreakingNews.BreakingNewsGetAsync( new BreakingNewsGetRequest { TopNArticles = 5, IncludeTranslationFields = true, IncludeNlpData = true, HasNlp = true, Theme = "Business,Finance", NotTheme = "Crime", } );
-
-
-
request:
BreakingNewsGetRequest
-
-
client.BreakingNews.BreakingNewsPostAsync(BreakingNewsPostRequest { ... }) -> BreakingNewsResponseDto
-
-
-
Retrieves breaking news articles and sorts them based on specified criteria.
-
-
-
await client.BreakingNews.BreakingNewsPostAsync( new BreakingNewsPostRequest { SortBy = SortBy.Relevancy, Page = 1, PageSize = 100, IncludeNlpData = true, } );
-
-
-
request:
BreakingNewsPostRequest
-
-
client.Authors.GetAsync(AuthorsGetRequest { ... }) -> OneOf
-
-
-
Searches for articles written by a specified author. You can filter results by language, country, source, and more.
-
-
-
await client.Authors.GetAsync( new AuthorsGetRequest { AuthorName = "Jane Smith", PredefinedSources = "top 100 US, top 5 GB", From = new DateTime(2024, 07, 01, 00, 00, 00, 000), To = new DateTime(2024, 07, 01, 00, 00, 00, 000), IncludeTranslationFields = true, IncludeNlpData = true, HasNlp = true, Theme = "Business,Finance", NotTheme = "Crime", NerName = "Tesla", IptcTags = "20000199,20000209", NotIptcTags = "20000205,20000209", IabTags = "Business,Events", NotIabTags = "Agriculture,Metals", CustomTags = "Tag1,Tag2,Tag3", } );
-
-
-
request:
AuthorsGetRequest
-
-
client.Authors.PostAsync(AuthorsPostRequest { ... }) -> OneOf
-
-
-
Searches for articles by author. You can filter results by language, country, source, and more.
-
-
-
await client.Authors.PostAsync( new AuthorsPostRequest { AuthorName = "Joanna Stern", Sources = new List<string>() { "wsj.com", "nytimes.com" }, Lang = "en", From = new DateTime(2024, 01, 01, 00, 00, 00, 000), To = new DateTime(2024, 06, 30, 00, 00, 00, 000), } );
-
-
-
request:
AuthorsPostRequest
-
-
client.SearchLink.SearchUrlGetAsync(SearchUrlGetRequest { ... }) -> SearchResponseDto
-
-
-
Searches for articles based on specified links or IDs. You can filter results by date range.
-
-
-
await client.SearchLink.SearchUrlGetAsync( new SearchUrlGetRequest { From = new DateTime(2024, 07, 01, 00, 00, 00, 000), To = new DateTime(2024, 01, 01, 00, 00, 00, 000), } );
-
-
-
request:
SearchUrlGetRequest
-
-
client.SearchLink.SearchUrlPostAsync(SearchUrlPostRequest { ... }) -> SearchResponseDto
-
-
-
Searches for articles using their ID(s) or link(s).
-
-
-
await client.SearchLink.SearchUrlPostAsync( new SearchUrlPostRequest { Ids = new List<string>() { "8ea8a784568ffaa05cb6d1ab2d2e84dd", "0146a551ef05ab1c494a55e806e3ce64", }, Links = new List<string>() { "https://www.nytimes.com/2024/08/30/technology/ai-chatbot-chatgpt-manipulation.html", "https://www.bbc.com/news/articles/c39k379grzlo", }, } );
-
-
-
request:
SearchUrlPostRequest
-
-
client.Searchsimilar.GetAsync(SearchSimilarGetRequest { ... }) -> OneOf
-
-
-
Searches for articles similar to a specified query.
-
-
-
await client.Searchsimilar.GetAsync( new SearchSimilarGetRequest { Q = "technology AND (Apple OR Microsoft) NOT Google", SearchIn = "title_content, title_content_translated", IncludeTranslationFields = true, SimilarDocumentsFields = "title,summary", PredefinedSources = "top 100 US, top 5 GB", From = new DateTime(2024, 07, 01, 00, 00, 00, 000), To = new DateTime(2024, 07, 01, 00, 00, 00, 000), IncludeNlpData = true, HasNlp = true, Theme = "Business,Finance", NotTheme = "Crime", NerName = "Tesla", IptcTags = "20000199,20000209", NotIptcTags = "20000205,20000209", CustomTags = "Tag1,Tag2,Tag3", } );
-
-
-
request:
SearchSimilarGetRequest
-
-
client.Searchsimilar.PostAsync(SearchSimilarPostRequest { ... }) -> OneOf
-
-
-
Searches for articles similar to the specified query. You can filter results by language, country, source, and more.
-
-
-
await client.Searchsimilar.PostAsync( new SearchSimilarPostRequest { Q = "artificial intelligence", IncludeSimilarDocuments = true, SimilarDocumentsNumber = 5, } );
-
-
-
request:
SearchSimilarPostRequest
-
-
client.Sources.GetAsync(SourcesGetRequest { ... }) -> SourcesResponseDto
-
-
-
Retrieves a list of sources based on specified criteria such as language, country, rank, and more.
-
-
-
await client.Sources.GetAsync( new SourcesGetRequest { PredefinedSources = "top 100 US, top 5 GB", SourceUrl = "bbc.com" } );
-
-
-
request:
SourcesGetRequest
-
-
client.Sources.PostAsync(SourcesPostRequest { ... }) -> SourcesResponseDto
-
-
-
Retrieves the list of sources available in the database. You can filter the sources by language, country, and more.
-
-
-
await client.Sources.PostAsync( new SourcesPostRequest { PredefinedSources = new List<string>() { "top 50 US" }, IncludeAdditionalInfo = true, IsNewsDomain = true, NewsDomainType = NewsDomainType.OriginalContent, NewsType = "General News Outlets", } );
-
-
-
request:
SourcesPostRequest
-
-
client.Aggregation.GetAsync(AggregationGetRequest { ... }) -> OneOf
-
-
-
Retrieves the count of articles aggregated by day or hour based on various search criteria, such as keyword, language, country, and source.
-
-
-
await client.Aggregation.GetAsync( new AggregationGetRequest { Q = "technology AND (Apple OR Microsoft) NOT Google", SearchIn = "title_content, title_content_translated", PredefinedSources = "top 100 US, top 5 GB", From = new DateTime(2024, 07, 01, 00, 00, 00, 000), To = new DateTime(2024, 07, 01, 00, 00, 00, 000), IncludeNlpData = true, HasNlp = true, Theme = "Business,Finance", NotTheme = "Crime", IptcTags = "20000199,20000209", NotIptcTags = "20000205,20000209", } );
-
-
-
request:
AggregationGetRequest
-
-
client.Aggregation.PostAsync(AggregationPostRequest { ... }) -> OneOf
-
-
-
Retrieves the count of articles aggregated by day or hour based on various search criteria, such as keyword, language, country, and source.
-
-
-
await client.Aggregation.PostAsync( new AggregationPostRequest { Q = "renewable energy", AggregationBy = AggregationBy.Day, PredefinedSources = "top 50 US", From = new DateTime(2024, 01, 01, 00, 00, 00, 000), To = new DateTime(2024, 06, 30, 00, 00, 00, 000), } );
-
-
-
request:
AggregationPostRequest
-
-
client.Subscription.GetAsync() -> SubscriptionResponseDto
-
-
-
Retrieves information about your subscription plan.
-
-
-
await client.Subscription.GetAsync();
-
-
client.Subscription.PostAsync() -> SubscriptionResponseDto
-
-
-
Retrieves information about your subscription plan.
-
-
-
await client.Subscription.PostAsync();
-
-