bing-search-sdk-for-java/samples
unknown 3e9d4733c9 adding readme 2020-12-16 19:25:52 +02:00
..
rest adding samples readme 2020-12-16 18:23:27 +02:00
sdk adding readme 2020-12-16 19:25:52 +02:00
README.md adding readme 2020-12-16 19:25:52 +02:00

README.md

page_type languages products description urlFragment
sample
java
azure
These samples will get you started using the Java SDKs for various Bing Apis service. bing-search-sdk-for-java

Bing Apis Java SDK Samples

These samples will get you started using the Java SDKs for various Bing Apis service. They'll cover a few common use cases that are end-to-end solutions, including best practices for interacting with the data from these APIs.

For a general overview about Bing Apis, view What are Bing Api Services?.

Features

This project framework provides examples for the following services:

Language

  • Spell Check, using the Bing Spell Check SDK () for the Spell Check API ()
  • Autosuggest Search, using the Bing Autosuggest SDK for the Autosuggest API
  • Custom Search, using the Bing Custom Search SDK for the Custom Search API v7
  • Image Search, using the Bing Custom Image Search SDK for the Image Search API v7
  • Entity Search, using the Bing Entity Search SDK for the Bing Entity Search API
  • News Search, using the Bing News Search SDK for the News Search v7 API
  • Video Search, using the Bing Video Search SDK for the Video Search API v7
  • Visual Search, using the Bing Visual Search SDK for the Bing Visual Search API
  • Web Search, using the Bing Web Search SDK for the Web Search API v7

Getting Started

Prerequisites

  1. A Bing APIs key and/or endpoint with which to authenticate the SDK's calls. If you don't have an Azure account, you can visit the Microsoft Web site, create a new Azure account, and try Bing Apis. Or follow the Create a Bing resource using the Azure portal guide. You can create an account on the Azure portal through the Use with an Azure subscription button.
  2. JDK 7 or 8

Subscription keys are usually per service. For example, the subscription key for Spell Check will not be the same as it is for Custom Search.

Installation

Copy this repository to your local machine by typing

git clone https://github.com/microsoft/bing-search-sdk-for-java.git

in your command line/bash. Or download and open the zip file of this repo.

Quickstart

In each sample you will need your subscription key and/or endpoint from your Azure Portal resource for the service. In the beginning of each sample, add your subscription key/endpoint where applicable.