Skip to content

Commit 3c61aa4

Browse files
john-paraahill
andauthored
1678688, appled suggestions from code review.
Co-Authored-By: aahill <[email protected]>
1 parent 3e712ea commit 3c61aa4

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

articles/cognitive-services/Bing-Custom-Search/includes/quickstarts/custom-search-client-library-csharp.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ ms.date: 02/27/2020
1010
ms.author: aahi
1111
---
1212

13-
Use this quickstart to begin requesting search results from your Bing Custom Search instance, using the C# client library. While Bing Custom Search has a REST API compatible with most programming languages, the Bing Custom Search client library provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7/BingCustomWebSearch).
13+
Get started with the Bing Custom Search client library for C#. Follow these steps to install the package and try out the example code for basic tasks. The Bing Custom Search API enables you to create tailored, ad-free search experiences for topics that you care about. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7/BingCustomWebSearch).
14+
15+
Use the Bing Custom Search client library for Java to:
16+
* Find search results on the web, from your Bing Custom Search instance.
17+
[Reference documentation](https://docs.microsoft.com/dotnet/api/overview/azure/cognitiveservices/client/bingcustomsearch?view=azure-dotnet) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/cognitiveservices/Search.BingCustomSearch) | [Package (NuGet)](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Search.CustomSearch/1.2.0) | [Samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples)
18+
1419

1520
## Prerequisites
1621

@@ -24,7 +29,9 @@ Use this quickstart to begin requesting search results from your Bing Custom Sea
2429
- Microsoft.Rest.ClientRuntime.Azure
2530
- Newtonsoft.Json
2631

27-
[!INCLUDE [cognitive-services-bing-news-search-prerequisites](~/includes/cognitive-services-bing-custom-search-signup-requirements.md)]
32+
## Setting up
33+
34+
[!INCLUDE [cognitive-services-bing-custom-search-prerequisites](~/includes/cognitive-services-bing-custom-search-signup-requirements.md)]
2835

2936

3037
## Create and initialize the application

articles/cognitive-services/Bing-Custom-Search/includes/quickstarts/custom-search-client-library-java.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 02/27/2020
1010
ms.author: aahi
1111
---
1212

13-
Get started with the Bing Custom Search client library for Java. Follow these steps to install the package and try out the example code for basic tasks. The Bing Custom Search API enables you to create tailored, ad-free search experiences for topics that you care about.
13+
Get started with the Bing Custom Search client library for Java. Follow these steps to install the package and try out the example code for basic tasks. The Bing Custom Search API enables you to create tailored, ad-free search experiences for topics that you care about. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-java-sdk-samples/tree/master/Search/BingCustomSearch)
1414

1515
Use the Bing Custom Search client library for Java to:
1616

@@ -27,6 +27,10 @@ Use the Bing Custom Search client library for Java to:
2727

2828
## Setting up
2929

30+
[!INCLUDE [cognitive-services-bing-custom-search-prerequisites](~/includes/cognitive-services-bing-custom-search-signup-requirements.md)]
31+
32+
After you get a key from your trial subscription or resource, [create an environment variable](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account#configure-an-environment-variable-for-authentication) for the key, named `AZURE_BING_CUSTOM_SEARCH_API_KEY`.
33+
3034
### Create a Bing Custom Search Azure resource
3135

3236
Azure Cognitive Services are represented by Azure resources that you subscribe to. Create a resource for Bing Custom Search using the [Azure portal](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account) or [Azure CLI](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli) on your local machine. You can also:

articles/cognitive-services/Bing-Custom-Search/includes/quickstarts/custom-search-client-library-python.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,24 @@ ms.date: 02/27/2020
1010
ms.author: aahi
1111
---
1212

13-
Use this quickstart to begin requesting search results from your Bing Custom Search instance, using the Python client library. While Bing Custom Search has a REST API compatible with most programming languages, the Bing Custom Search client library provides an easy way to integrate the service into your applications. The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/blob/master/samples/search/custom_search_samples.py) with additional error handling and annotations.
13+
Get started with the Bing Custom Search client library for Python. Follow these steps to install the package and try out the example code for basic tasks. The Bing Custom Search API enables you to create tailored, ad-free search experiences for topics that you care about.The source code for this sample can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/blob/master/samples/search/custom_search_samples.py).
14+
15+
Use the Bing Custom Search client library for Java to:
16+
* Find search results on the web, from your Bing Custom Search instance.
17+
18+
[Reference documentation](https://docs.microsoft.com/python/api/overview/azure/cognitiveservices/customsearch?view=azure-python) | [Library source code](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/cognitiveservices/azure-cognitiveservices-search-customsearch) | [Package (PyPi)](https://pypi.org/project/azure-cognitiveservices-search-customsearch/) | [Samples](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/)
19+
1420

1521
## Prerequisites
1622

1723
- A Bing Custom Search instance. See [Quickstart: Create your first Bing Custom Search instance](../../quick-start.md) for more information.
1824
- Python [2.x or 3.x](https://www.python.org/)
1925
- The [Bing Custom Search SDK for Python](https://pypi.org/project/azure-cognitiveservices-search-customsearch/)
2026

27+
## Setting up
28+
29+
[!INCLUDE [cognitive-services-bing-custom-search-prerequisites](~/includes/cognitive-services-bing-custom-search-signup-requirements.md)]
30+
2131
## Install the Python client library
2232

2333
Install the Bing Custom Search client library with the following command.

0 commit comments

Comments
 (0)