Skip to content

Commit cc29d9c

Browse files
authored
Merge pull request #108411 from john-par/1678688-adding-zone-pivots-bing-video-search
[Cog Svcs] 1678688, adding zone pivots bing video search
2 parents 1123d20 + 2143cfb commit cc29d9c

File tree

8 files changed

+113
-78
lines changed

8 files changed

+113
-78
lines changed

.openpublishing.redirection.json

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,6 +1975,26 @@
19751975
"redirect_url": "/azure/cognitive-services/bing-news-search/quickstarts/client-libraries?pivots=programming-language-python",
19761976
"redirect_document_id": false
19771977
},
1978+
{
1979+
"source_path": "articles/cognitive-services/Bing-Video-Search/quickstarts/sdk-csharp-quickstart.md",
1980+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-csharp",
1981+
"redirect_document_id": false
1982+
},
1983+
{
1984+
"source_path": "articles/cognitive-services/Bing-Video-Search/quickstarts/sdk-java-quickstart.md",
1985+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-java",
1986+
"redirect_document_id": false
1987+
},
1988+
{
1989+
"source_path": "articles/cognitive-services/Bing-Video-Search/quickstarts/sdk-node-quickstart.md",
1990+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-javascript",
1991+
"redirect_document_id": false
1992+
},
1993+
{
1994+
"source_path": "articles/cognitive-services/Bing-Video-Search/quickstarts/sdk-python-quickstart.md",
1995+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-python",
1996+
"redirect_document_id": false
1997+
},
19781998
{
19791999
"source_path": "articles/virtual-machines/linux/classic/rdma-cluster.md",
19802000
"redirect_url": "/azure/virtual-machines/linux/sizes-hpc#rdma-capable-instances",
@@ -38842,8 +38862,8 @@
3884238862
},
3884338863
{
3884438864
"source_path": "articles/cognitive-services/Bing-Video-Search/sdk.md",
38845-
"redirect_url": "/azure/cognitive-services/Bing-Video-Search/quickstarts/sdk-csharp-quickstart",
38846-
"redirect_document_id": true
38865+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-csharp",
38866+
"redirect_document_id": false
3884738867
},
3884838868
{
3884938869
"source_path": "articles/cognitive-services/Bing-Video-Search/quick-start.md",
@@ -38877,22 +38897,22 @@
3887738897
},
3887838898
{
3887938899
"source_path": "articles/cognitive-services/Bing-Video-Search/video-sdk-java-quickstart.md",
38880-
"redirect_url": "/azure/cognitive-services/Bing-Video-Search/quickstarts/sdk-java-quickstart",
38881-
"redirect_document_id": true
38900+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-java",
38901+
"redirect_document_id": false
3888238902
},
3888338903
{
3888438904
"source_path": "articles/cognitive-services/Bing-Video-Search/video-sdk-python-quickstart.md",
38885-
"redirect_url": "/azure/cognitive-services/Bing-Video-Search/quickstarts/sdk-python-quickstart",
38886-
"redirect_document_id": true
38905+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-python",
38906+
"redirect_document_id": false
3888738907
},
3888838908
{
3888938909
"source_path": "articles/cognitive-services/Bing-Video-Search/video-search-sdk-node-quickstart.md",
38890-
"redirect_url": "/azure/cognitive-services/Bing-Video-Search/quickstarts/sdk-node-quickstart",
38891-
"redirect_document_id": true
38910+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-javascript",
38911+
"redirect_document_id": false
3889238912
},
3889338913
{
3889438914
"source_path": "articles/cognitive-services/Bing-Video-Search/video-search-sdk-quickstart.md",
38895-
"redirect_url": "/azure/cognitive-services/Bing-Video-Search/quickstarts/sdk-csharp-quickstart",
38915+
"redirect_url": "/azure/cognitive-services/bing-video-search/quickstarts/client-libraries?pivots=programming-language-csharp",
3889638916
"redirect_document_id": false
3889738917
},
3889838918
{

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

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,31 @@
11
---
2-
title: "Quickstart: Search for videos using the SDK for C# - Bing Video Search"
2+
title: Bing Video Search C# client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to send video search requests using the Bing Video Search SDK for C#.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-video-search
11-
ms.topic: quickstart
12-
ms.date: 12/09/2019
8+
ms.topic: include
9+
ms.date: 03/19/2020
1310
ms.author: aahi
1411
---
1512

16-
# Quickstart: Perform a video search with the Bing Video Search SDK for C#
17-
18-
Use this quickstart to begin searching for news with the Bing Video Search SDK for C#. While Bing Video Search has a REST API compatible with most programming languages, the SDK 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/BingVideoSearch) with additional annotations, and features.
13+
Use this quickstart to begin searching for news with the Bing Video Search client library for C#. While Bing Video Search has a REST API compatible with most programming languages, the 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/BingVideoSearch) with additional annotations, and features.
1914

2015
## Prerequisites
2116

2217
* Any edition of [Visual Studio 2017 or later](https://visualstudio.microsoft.com/downloads/).
2318
* The Json.NET framework, available [as a NuGet package](https://www.nuget.org/packages/Newtonsoft.Json/).
2419

25-
To add the Bing Video Search SDK to your project, select **Manage NuGet Packages** from **Solution Explorer** in Visual Studio. Add the `Microsoft.Azure.CognitiveServices.Search.VideoSearch` package.
20+
To add the Bing Video Search client library to your project, select **Manage NuGet Packages** from **Solution Explorer** in Visual Studio. Add the `Microsoft.Azure.CognitiveServices.Search.VideoSearch` package.
2621

2722
Installing the [[NuGet Video Search SDK package]](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Search.VideoSearch/1.2.0) also installs the following dependencies:
2823

2924
* Microsoft.Rest.ClientRuntime
3025
* Microsoft.Rest.ClientRuntime.Azure
3126
* Newtonsoft.Json
3227

33-
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](../../../../includes/cognitive-services-bing-video-search-signup-requirements.md)]
28+
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](~/includes/cognitive-services-bing-video-search-signup-requirements.md)]
3429

3530

3631
## Create and initialize a project
@@ -80,9 +75,9 @@ Installing the [[NuGet Video Search SDK package]](https://www.nuget.org/packages
8075
## Next steps
8176

8277
> [!div class="nextstepaction"]
83-
> [Create a single page web app](../tutorial-bing-video-search-single-page-app.md)
78+
> [Create a single page web app](../../tutorial-bing-video-search-single-page-app.md)
8479

8580
## See also
8681

87-
* [What is the Bing Video Search API?](../overview.md)
82+
* [What is the Bing Video Search API?](../../overview.md)
8883
* [Cognitive services .NET SDK samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7)

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

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
11
---
2-
title: "Quickstart: Search for videos using the SDK for Java - Bing Video Search"
2+
title: Bing Video Search Java client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to send video search requests using the Bing Video Search SDK for Java.
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-video-search
11-
ms.topic: quickstart
12-
ms.date: 12/09/2019
8+
ms.topic: include
9+
ms.date: 03/19/2020
1310
ms.author: aahi
1411
---
15-
# Quickstart: Perform a video search with the Bing Video Search SDK for Java
1612

17-
Use this quickstart to begin searching for news with the Bing Video Search SDK for Java. While Bing Video Search has a REST API compatible with most programming languages, the SDK 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-java-sdk-samples/tree/master/Search/BingVideoSearch), with additional annotations, and features.
13+
Use this quickstart to begin searching for news with the Bing Video Search client library for Java. While Bing Video Search has a REST API compatible with most programming languages, the 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-java-sdk-samples/tree/master/Search/BingVideoSearch), with additional annotations, and features.
1814

1915
## Prerequisites
2016

2117
* The [Java Development Kit(JDK)](https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html)
2218

2319
* The [Gson library](https://github.com/google/gson)
2420

25-
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](../../../../includes/cognitive-services-bing-video-search-signup-requirements.md)]
21+
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](~/includes/cognitive-services-bing-video-search-signup-requirements.md)]
2622

27-
Install the Bing Video Search SDK dependencies by using Maven, Gradle, or another dependency management system. The Maven POM file requires the following declaration:
23+
Install the Bing Video Search client library dependencies by using Maven, Gradle, or another dependency management system. The Maven POM file requires the following declaration:
2824

2925
```xml
3026
<dependencies>
@@ -41,7 +37,7 @@ Install the Bing Video Search SDK dependencies by using Maven, Gradle, or anothe
4137

4238
Create a new Java project in your favorite IDE or editor, and import the following libraries.
4339

44-
```java
40+
```java
4541
import com.microsoft.azure.cognitiveservices.videosearch.*;
4642
import com.microsoft.azure.cognitiveservices.videosearch.VideoObject;
4743
import com.microsoft.rest.credentials.ServiceClientCredentials;
@@ -52,7 +48,7 @@ Create a new Java project in your favorite IDE or editor, and import the followi
5248
import java.io.IOException;
5349
import java.util.ArrayList;
5450
import java.util.List;
55-
```
51+
```
5652

5753
## Create a search client
5854

@@ -154,9 +150,9 @@ Create a new Java project in your favorite IDE or editor, and import the followi
154150
## Next steps
155151

156152
> [!div class="nextstepaction"]
157-
> [Create a single page web app](../tutorial-bing-video-search-single-page-app.md)
153+
> [Create a single page web app](../../tutorial-bing-video-search-single-page-app.md)
158154

159155
## See also
160156

161-
* [What is the Bing Video Search API?](../overview.md)
162-
* [Cognitive services .NET SDK samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7)
157+
* [What is the Bing Video Search API?](../../overview.md)
158+
* [Cognitive services .NET SDK samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7)

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

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,30 @@
11
---
2-
title: "Quickstart: Search for videos using the SDK for Node.js - Bing Video Search"
2+
title: Bing Video Search JavaScript client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to send video search requests using the Bing Video Search SDK for Node.js
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-video-search
11-
ms.topic: quickstart
12-
ms.date: 12/09/2019
8+
ms.topic: include
9+
ms.date: 03/19/2020
1310
ms.author: aahi
1411
---
1512

16-
# Quickstart: Perform a video search with the Bing Video Search SDK for Node.js
17-
18-
Use this quickstart to begin searching for news with the Bing Video Search SDK for Node.js. While Bing Video Search has a REST API compatible with most programming languages, the SDK 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-node-sdk-samples/blob/master/Samples/videoSearch.js). It contains more annotations and features.
13+
Use this quickstart to begin searching for news with the Bing Video Search client library for JavaScript. While Bing Video Search has a REST API compatible with most programming languages, the 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-node-sdk-samples/blob/master/Samples/videoSearch.js). It contains more annotations and features.
1914

2015
## Prerequisites
2116

2217
- [Node.js](https://www.nodejs.org/)
2318

24-
To set up a console application using the Bing Video Search SDK:
19+
To set up a console application using the Bing Video Search client library:
2520
* Run `npm install ms-rest-azure` in your development environment.
2621
* Run `npm install azure-cognitiveservices-videosearch` in your development environment.
2722

28-
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](../../../../includes/cognitive-services-bing-video-search-signup-requirements.md)]
23+
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](~/includes/cognitive-services-bing-video-search-signup-requirements.md)]
2924

3025
## Create and initialize the application
3126

32-
1. Create a new JavaScript file in your favorite IDE or editor, and add a `require()` statement for the Bing Video Search SDK, and `CognitiveServicesCredentials` module. Create a variable for your subscription key.
27+
1. Create a new JavaScript file in your favorite IDE or editor, and add a `require()` statement for the Bing Video Search client library, and `CognitiveServicesCredentials` module. Create a variable for your subscription key.
3328

3429
```javascript
3530
const CognitiveServicesCredentials = require('ms-rest-azure').CognitiveServicesCredentials;
@@ -58,9 +53,9 @@ To set up a console application using the Bing Video Search SDK:
5853
## Next steps
5954

6055
> [!div class="nextstepaction"]
61-
> [Create a single page web app](../tutorial-bing-video-search-single-page-app.md)
56+
> [Create a single page web app](../../tutorial-bing-video-search-single-page-app.md)
6257

6358
## See also
6459

65-
* [What is the Bing Video Search API?](../overview.md)
60+
* [What is the Bing Video Search API?](../../overview.md)
6661
* [Cognitive services .NET SDK samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7)

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

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,31 @@
11
---
2-
title: "Quickstart: Search for videos using the SDK for Python - Bing Video Search"
2+
title: Bing Video Search Python client library quickstart
33
titleSuffix: Azure Cognitive Services
4-
description: Use this quickstart to send video search requests using the Bing Video Search SDK for Python
54
services: cognitive-services
65
author: aahill
76
manager: nitinme
8-
97
ms.service: cognitive-services
10-
ms.subservice: bing-video-search
11-
ms.topic: quickstart
12-
ms.date: 02/11/2020
8+
ms.topic: include
9+
ms.date: 03/19/2020
1310
ms.author: aahi
1411
---
1512

16-
# Quickstart: Perform a video search with the Bing Video Search SDK for Python
17-
18-
Use this quickstart to begin searching for news with the Bing Video Search SDK for Python. While Bing Video Search has a REST API compatible with most programming languages, the SDK 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/video_search_samples.py) with additional annotations, and features.
13+
Use this quickstart to begin searching for news with the Bing Video Search client library for Python. While Bing Video Search has a REST API compatible with most programming languages, the 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/video_search_samples.py) with additional annotations, and features.
1914

20-
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](../../../../includes/cognitive-services-bing-video-search-signup-requirements.md)]
15+
[!INCLUDE [cognitive-services-bing-video-search-signup-requirements](~/includes/cognitive-services-bing-video-search-signup-requirements.md)]
2116

2217
## Prerequisites
2318

2419
- [Python](https://www.python.org/) 2.x or 3.x
25-
- The Bing Video Search SDK for python
20+
- The Bing Video Search client library for python
2621

2722
It is recommended that you use a python [virtual environment](https://docs.python.org/3/tutorial/venv.html). You can install and initialize a virtual environment with the [venv module](https://pypi.python.org/pypi/virtualenv). Install virtualenv for Python 2.7 with:
2823

2924
```console
3025
python -m venv mytestenv
3126
```
3227

33-
Install the Bing Video Search SDK with:
28+
Install the Bing Video Search client library with:
3429

3530
```console
3631
cd mytestenv
@@ -86,9 +81,9 @@ client = VideoSearchAPI(endpoint, CognitiveServicesCredentials(subscription_key)
8681
## Next steps
8782

8883
> [!div class="nextstepaction"]
89-
> [Create a single page web app](../tutorial-bing-video-search-single-page-app.md)
84+
> [Create a single page web app](../../tutorial-bing-video-search-single-page-app.md)
9085

9186
## See also
9287

93-
- [What is the Bing Video Search API?](../overview.md)
88+
- [What is the Bing Video Search API?](../../overview.md)
9489
- [Cognitive services .NET SDK samples](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/tree/master/BingSearchv7)
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: 'Quickstart: Use the Bing Video Search client library'
3+
titleSuffix: Azure Cognitive Services
4+
description: The Video 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-video-search
12+
ms.topic: quickstart
13+
ms.date: 03/19/2020
14+
ms.author: aahi
15+
---
16+
# Quickstart: Use the Bing Video Search client library
17+
18+
::: zone pivot="programming-language-csharp"
19+
20+
[!INCLUDE [C# quickstart](../includes/quickstarts/video-search-client-library-csharp.md)]
21+
22+
::: zone-end
23+
24+
::: zone pivot="programming-language-java"
25+
26+
[!INCLUDE [Java quickstart](../includes/quickstarts/video-search-client-library-java.md)]
27+
28+
::: zone-end
29+
30+
::: zone pivot="programming-language-javascript"
31+
32+
[!INCLUDE [JavaScript quickstart](../includes/quickstarts/video-search-client-library-javascript.md)]
33+
34+
::: zone-end
35+
36+
::: zone pivot="programming-language-python"
37+
38+
[!INCLUDE [Python quickstart](../includes/quickstarts/video-search-client-library-python.md)]
39+
40+
::: zone-end

articles/cognitive-services/Bing-Video-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: SDK
2929
items:
30-
- name: Using C#
31-
href: quickstarts/sdk-csharp-quickstart.md
32-
- name: Using Node.js
33-
href: quickstarts/sdk-node-quickstart.md
34-
- name: Using Python
35-
href: quickstarts/sdk-python-quickstart.md
36-
- name: Using Java
37-
href: quickstarts/sdk-java-quickstart.md
30+
- name: Bing Video 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)