Skip to content

Commit ef078b7

Browse files
authored
Merge pull request #105162 from john-par/1678688-adding-zone-pivots-bing-web-search
[Cog Svcs] 1678688, adding zone pivots bing web search
2 parents 1c62089 + 27cad35 commit ef078b7

File tree

9 files changed

+95
-53
lines changed

9 files changed

+95
-53
lines changed

.openpublishing.redirection.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,6 +1666,26 @@
16661666
"redirect_url": "/azure/cognitive-services/bing-web-search/bing-web-stats",
16671667
"redirect_document_id": false
16681668
},
1669+
{
1670+
"source_path": "articles/cognitive-services/Bing-Web-Search/web-search-sdk-quickstart.md",
1671+
"redirect_url": "/azure/cognitive-services/bing-web-search/quickstarts/client-libraries",
1672+
"redirect_document_id": false
1673+
},
1674+
{
1675+
"source_path": "articles/cognitive-services/Bing-Web-Search/web-sdk-java-quickstart.md",
1676+
"redirect_url": "/azure/cognitive-services/bing-web-search/quickstarts/client-libraries",
1677+
"redirect_document_id": false
1678+
},
1679+
{
1680+
"source_path": "articles/cognitive-services/Bing-Web-Search/web-search-sdk-node-quickstart.md",
1681+
"redirect_url": "/azure/cognitive-services/bing-web-search/quickstarts/client-libraries",
1682+
"redirect_document_id": false
1683+
},
1684+
{
1685+
"source_path": "articles/cognitive-services/Bing-Web-Search/web-sdk-python-quickstart.md",
1686+
"redirect_url": "/azure/cognitive-services/bing-web-search/quickstarts/client-libraries",
1687+
"redirect_document_id": false
1688+
},
16691689
{
16701690
"source_path": "articles/virtual-machines/linux/classic/rdma-cluster.md",
16711691
"redirect_url": "/azure/virtual-machines/linux/sizes-hpc#rdma-capable-instances",

articles/cognitive-services/Bing-Web-Search/web-search-sdk-quickstart.md renamed to articles/cognitive-services/Bing-Web-Search/includes/quickstarts/web-search-client-library-csharp.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
---
2-
title: "Quickstart: Use the Bing Web Search SDK for C#"
2+
title: Bing Web Search C# client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: The Bing Web Search SDK makes it easy to integrate Bing Web Search into your C# application. In this quickstart, you'll learn how to instantiate a client, send a request, and print the response.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
87
ms.service: cognitive-services
9-
ms.subservice: bing-web-search
10-
ms.topic: quickstart
11-
ms.date: 12/09/2019
8+
ms.topic: include
9+
ms.date: 02/24/2020
1210
ms.author: aahi
1311
---
1412

15-
# Quickstart: Use the Bing Web Search SDK for C#
13+
The Bing Web Search client library makes it easy to integrate Bing Web Search into your C# application. In this quickstart, you'll learn how to instantiate a client, send a request, and print the response.
1614

17-
The Bing Web Search SDK makes it easy to integrate Bing Web Search into your C# application. In this quickstart, you'll learn how to instantiate a client, send a request, and print the response.
15+
Want to see the code right now? Samples for the [Bing Search client libraries for .NET](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7) are available on GitHub.
1816

1917
## Prerequisites
2018
Here are a few things that you'll need before running this quickstart:
@@ -25,7 +23,7 @@ Here are a few things that you'll need before running this quickstart:
2523
* [NuGet Package Manager](https://github.com/jmrog/vscode-nuget-package-manager)
2624
* [.NET Core SDK](https://www.microsoft.com/net/download)
2725

28-
[!INCLUDE [bing-web-search-quickstart-signup](../../../includes/bing-web-search-quickstart-signup.md)]
26+
[!INCLUDE [bing-web-search-quickstart-signup](~/includes/bing-web-search-quickstart-signup.md)]
2927

3028
## Create a project and install dependencies
3129

articles/cognitive-services/Bing-Web-Search/web-sdk-java-quickstart.md renamed to articles/cognitive-services/Bing-Web-Search/includes/quickstarts/web-search-client-library-java.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
---
2-
title: "Quickstart: Use the Bing Web Search SDK for Java"
2+
title: Bing Web Search Java client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: The Bing Web Search SDK makes it easy to integrate Bing Web Search into your Java application. In this quickstart, you'll learn how to send a request, receive a JSON response, and filter and parse the results.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
87
ms.service: cognitive-services
9-
ms.subservice: bing-web-search
10-
ms.topic: quickstart
11-
ms.date: 12/09/2019
8+
ms.topic: include
9+
ms.date: 02/24/2020
1210
ms.author: aahi
1311
---
1412

15-
# Quickstart: Use the Bing Web Search SDK for Java
13+
The Bing Web Search client library makes it easy to integrate Bing Web Search into your Java application. In this quickstart, you'll learn how to send a request, receive a JSON response, and filter and parse the results.
1614

17-
The Bing Web Search SDK makes it easy to integrate Bing Web Search into your Java application. In this quickstart, you'll learn how to send a request, receive a JSON response, and filter and parse the results.
18-
19-
Want to see the code right now? The [Bing Web Search SDK for Java samples](https://github.com/Azure-Samples/cognitive-services-java-sdk-samples/) are available on GitHub.
15+
Want to see the code right now? Samples for the [Bing Search client libraries for Java](https://github.com/Azure-Samples/cognitive-services-java-sdk-samples/tree/master/Search) are available on GitHub.
2016

2117
## Prerequisites
2218

@@ -26,7 +22,7 @@ Here are a few things that you'll need before running this quickstart:
2622
* [Apache Maven](https://maven.apache.org/download.cgi) or your favorite build automation tool
2723
* A subscription key
2824

29-
[!INCLUDE [bing-web-search-quickstart-signup](../../../includes/bing-web-search-quickstart-signup.md)]
25+
[!INCLUDE [bing-web-search-quickstart-signup](~/includes/bing-web-search-quickstart-signup.md)]
3026

3127
## Create a project and set up your POM file
3228

articles/cognitive-services/Bing-Web-Search/web-search-sdk-node-quickstart.md renamed to articles/cognitive-services/Bing-Web-Search/includes/quickstarts/web-search-client-library-javascript.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
11
---
2-
title: "Quickstart: Use the Bing Web Search SDK for Node.js"
2+
title: Bing Web Search JavaScript client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: The Bing Web Search SDK makes it easy to integrate Bing Web Search into your Node.js application. In this quickstart, you'll learn how to instantiate a client, send a request, and print the response.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
87
ms.service: cognitive-services
9-
ms.subservice: bing-web-search
10-
ms.topic: quickstart
11-
ms.date: 12/09/2019
8+
ms.topic: include
9+
ms.date: 02/24/2020
1210
ms.author: aahi
1311
---
1412

15-
# Quickstart: Use the Bing Web Search SDK for Node.js
13+
The Bing Web Search client library makes it easy to integrate Bing Web Search into your Node.js application. In this quickstart, you'll learn how to instantiate a client, send a request, and print the response.
1614

17-
The Bing Web Search SDK makes it easy to integrate Bing Web Search into your Node.js application. In this quickstart, you'll learn how to instantiate a client, send a request, and print the response.
18-
19-
Want to see the code right now? The [Bing Web Search SDK for Node.js samples](https://github.com/Azure-Samples/cognitive-services-node-sdk-samples) are available on GitHub.
15+
Want to see the code right now? Samples for the [Bing Search client libraries for JavaScript](https://github.com/Azure-Samples/cognitive-services-node-sdk-samples/tree/master/Samples) are available on GitHub.
2016

2117
## Prerequisites
2218
Here are a few things that you'll need before running this quickstart:
2319

2420
* [Node.js 6](https://nodejs.org/en/download/) or later
2521
* A subscription key
2622

27-
[!INCLUDE [bing-web-search-quickstart-signup](../../../includes/bing-web-search-quickstart-signup.md)]
23+
[!INCLUDE [bing-web-search-quickstart-signup](~/includes/bing-web-search-quickstart-signup.md)]
2824

2925

3026
## Set up your development environment

articles/cognitive-services/Bing-Web-Search/web-sdk-python-quickstart.md renamed to articles/cognitive-services/Bing-Web-Search/includes/quickstarts/web-search-client-library-python.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
---
2-
title: "Quickstart: Use the Bing Web Search SDK for Python"
2+
title: Bing Web Search Python client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: The Bing Web Search SDK makes it easy to integrate Bing Web Search into your Python application. In this quickstart, you'll learn how to send a request, receive a JSON response, and filter and parse the results.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
87
ms.service: cognitive-services
9-
ms.subservice: bing-web-search
10-
ms.topic: quickstart
11-
ms.date: 02/11/2019
8+
ms.topic: include
9+
ms.date: 02/24/2020
1210
ms.author: aahi
1311
---
1412

15-
# Quickstart: Use the Bing Web Search SDK for Python
13+
The Bing Web Search client library makes it easy to integrate Bing Web Search into your Python application. In this quickstart, you'll learn how to send a request, receive a JSON response, and filter and parse the results.
1614

17-
The Bing Web Search SDK makes it easy to integrate Bing Web Search into your Python application. In this quickstart, you'll learn how to send a request, receive a JSON response, and filter and parse the results.
15+
Want to see the code right now? Samples for the [Bing Search client libraries for JavaScript](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples/tree/master/samples/search) are available on GitHub.
1816

19-
Want to see the code right now? The [Bing Web Search SDK for Python samples](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples) are available on GitHub.
2017

2118
## Prerequisites
2219
The Bing Web Search SDK is compatible with Python 2.7, 3.3, 3.4, 3.5, and 3.6. We recommend using a virtual environment for this quickstart.
@@ -25,7 +22,7 @@ The Bing Web Search SDK is compatible with Python 2.7, 3.3, 3.4, 3.5, and 3.6. W
2522
* [virtualenv](https://docs.python.org/3/tutorial/venv.html) for Python 2.7
2623
* [venv](https://pypi.python.org/pypi/virtualenv) for Python 3.x
2724

28-
[!INCLUDE [bing-web-search-quickstart-signup](../../../includes/bing-web-search-quickstart-signup.md)]
25+
[!INCLUDE [bing-web-search-quickstart-signup](~/includes/bing-web-search-quickstart-signup.md)]
2926

3027
## Create and configure your virtual environment
3128

@@ -81,7 +78,7 @@ If the response contains web pages, images, news, or videos, the first result fo
8178

8279
1. Create a new Python project using your favorite IDE or editor.
8380

84-
1. Copy this sample code into your project. `endpoint` can be the global endpoint below, or the [custom subdomain](../../cognitive-services/cognitive-services-custom-subdomains.md) endpoint displayed in the Azure portal for your resource.:
81+
1. Copy this sample code into your project. `endpoint` can be the global endpoint below, or the [custom subdomain](~/articles/cognitive-services/cognitive-services-custom-subdomains.md) endpoint displayed in the Azure portal for your resource.:
8582

8683
```python
8784
# Import required modules.

articles/cognitive-services/Bing-Web-Search/index.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ conceptualContent:
4040
items:
4141
- title: Bing Web Search
4242
links:
43-
- url: web-search-sdk-quickstart.md
43+
- url: ./quickstarts/client-libraries.md?pivots=programming-language-csharp
4444
itemType: quickstart
4545
text: Use C#
46-
- url: web-sdk-java-quickstart.md
46+
- url: ./quickstarts/client-libraries.md?pivots=programming-language-java
4747
itemType: quickstart
4848
text: Use Java
49-
- text: Use Node.js
49+
- url: ./quickstarts/client-libraries.md?pivots=programming-language-javascript
5050
itemType: quickstart
51-
url: web-search-sdk-node-quickstart.md
52-
- url: web-sdk-python-quickstart.md
51+
text: Use JavaScript
52+
- url: ./quickstarts/client-libraries.md?pivots=programming-language-python
5353
itemType: quickstart
5454
text: Use Python
5555
- url: tutorial-bing-web-search-single-page-app.md

articles/cognitive-services/Bing-Web-Search/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ Bing Web Search doesn't only give you access to instant answers. It also provide
3535

3636
## Workflow
3737

38-
The Bing Web Search API is easy to call from any programming language that can make HTTP requests and parse JSON responses. The service is accessible using the [REST API](quickstarts/python.md) or the [Bing Web Search SDKs](web-sdk-python-quickstart.md).
38+
The Bing Web Search API is easy to call from any programming language that can make HTTP requests and parse JSON responses. The service is accessible using the [REST API](quickstarts/python.md) or the [Bing Web Search client libraries](./quickstarts/client-libraries.md).
3939

4040
1. [Create an Azure resource](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account) for the Bing Search APIs. If you don't have an Azure subscription, you can [create a free account](https://azure.microsoft.com/try/cognitive-services/?api=bing-web-search-api).
4141
2. Send a [request to the Bing Web Search API](quickstarts/python.md).
4242
3. Parse the JSON response.
4343

4444
## Next steps
4545

46-
* Use our [Python quickstart](quickstarts/python.md) to make your first call to the Bing Web Search API.
46+
* Use our [Python quickstart](./quickstarts/client-libraries.md?pivots=programming-language-python) to make your first call to the Bing Web Search API.
4747
* [Build a single-page web app](tutorial-bing-web-search-single-page-app.md).
4848
* Review [Web Search API v7 reference](https://docs.microsoft.com/rest/api/cognitiveservices-bingsearch/bing-web-api-v7-reference) documentation.
4949
* Learn more about [use and display requirements](UseAndDisplayRequirements.md) for Bing Web Search.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: 'Quickstart: Use a Bing Web Search client library'
3+
titleSuffix: Azure Cognitive Services
4+
description: The Bing Web Search API offers client libraries that makes it easy to integrate search capabilities into your applications. Use this quickstart to start sending search requests, and get back results.
5+
services: cognitive-services
6+
author: aahill
7+
manager: nitinme
8+
zone_pivot_groups: programming-languages-set-ten
9+
10+
ms.service: cognitive-services
11+
ms.subservice: bing-web-search
12+
ms.topic: quickstart
13+
ms.date: 02/21/2020
14+
ms.author: aahi
15+
---
16+
17+
# Quickstart: Use a Bing Web Search client library
18+
19+
::: zone pivot="programming-language-csharp"
20+
21+
[!INCLUDE [C# quickstart](../includes/quickstarts/web-search-client-library-csharp.md)]
22+
23+
::: zone-end
24+
25+
::: zone pivot="programming-language-java"
26+
27+
[!INCLUDE [Java quickstart](../includes/quickstarts/web-search-client-library-java.md)]
28+
29+
::: zone-end
30+
31+
::: zone pivot="programming-language-javascript"
32+
33+
[!INCLUDE [Node.js quickstart](../includes/quickstarts/web-search-client-library-javascript.md)]
34+
35+
::: zone-end
36+
37+
::: zone pivot="programming-language-python"
38+
39+
[!INCLUDE [Python quickstart](../includes/quickstarts/web-search-client-library-python.md)]
40+
41+
::: zone-end

articles/cognitive-services/Bing-Web-Search/toc.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,8 @@
2727
href: quickstarts/ruby.md
2828
- name: SDKs
2929
items:
30-
- name: C#
31-
href: web-search-sdk-quickstart.md
32-
- name: Java
33-
href: web-sdk-java-quickstart.md
34-
- name: Node.js
35-
href: web-search-sdk-node-quickstart.md
36-
- name: Python
37-
href: web-sdk-python-quickstart.md
30+
- name: Bing Web Search client libraries
31+
href: ./quickstarts/client-libraries.md
3832
- name: Tutorials
3933
items:
4034
- name: Build a single-page web app

0 commit comments

Comments
 (0)