Skip to content

Hiromasa-Masuda/BingSearchClientLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Azure Bing Search Client Library

The Azure Bing Search Client Library is a client library for Azure Bing Search v7 resources.

string subscriptionKey = "<yourKey>";
// Market code: en-US, ja-JP... 
// https://learn.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-web-api-v7-reference#market-codes
string marketCode = "en-Us";
int resultCount = 10;
string keyword = "cat";

BingClient bingClient = new BingClient(subscriptionKey, marketCode, resultCount);

var webPages = await bingClient.SearchWebAsync(keyword);
var images = await bingClient.SearchImageAsync(keyword);
var videos = await bingClient.SearchVideoAsync(keyword);
var news = await bingClient.SearchNewsAsync(keyword);

Please refer to the following article as well:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages