BingNews Interface
public interface BingNews
An instance of this class provides access to all the operations defined in BingNews.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
category()
The News Category API lets lets you search on Bing and get back a list of top news articles by category. |
abstract
News |
category(CategoryOptionalParameter categoryOptionalParameter)
The News Category API lets lets you search on Bing and get back a list of top news articles by category. |
abstract
rx.Observable<News |
categoryAsync(CategoryOptionalParameter categoryOptionalParameter)
The News Category API lets lets you search on Bing and get back a list of top news articles by category. |
abstract
With |
search()
The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. |
abstract
News |
search(String query, SearchOptionalParameter searchOptionalParameter)
The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. |
abstract
rx.Observable<News |
searchAsync(String query, SearchOptionalParameter searchOptionalParameter)
The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. |
abstract
With |
trending()
The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. |
abstract
Trending |
trending(TrendingOptionalParameter trendingOptionalParameter)
The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. |
abstract
rx.Observable<Trending |
trendingAsync(TrendingOptionalParameter trendingOptionalParameter)
The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. |
Method Details
category
public abstract BingNews.BingNewsCategoryDefinitionStages.WithExecute category()
The News Category API lets lets you search on Bing and get back a list of top news articles by category. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Returns:
category
public abstract NewsModel category(CategoryOptionalParameter categoryOptionalParameter)
The News Category API lets lets you search on Bing and get back a list of top news articles by category. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Parameters:
Returns:
categoryAsync
public abstract Observable
The News Category API lets lets you search on Bing and get back a list of top news articles by category. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Parameters:
Returns:
search
public abstract BingNews.BingNewsSearchDefinitionStages.WithQuery search()
The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Returns:
search
public abstract NewsModel search(String query, SearchOptionalParameter searchOptionalParameter)
The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Parameters:
Returns:
searchAsync
public abstract Observable
The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Parameters:
Returns:
trending
public abstract BingNews.BingNewsTrendingDefinitionStages.WithExecute trending()
The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Returns:
trending
public abstract TrendingTopics trending(TrendingOptionalParameter trendingOptionalParameter)
The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Parameters:
Returns:
trendingAsync
public abstract Observable
The News Trending Topics API lets lets you search on Bing and get back a list of trending news topics that are currently trending on Bing. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Parameters:
Returns:
Applies to
Azure SDK for Java