PHP

bing image search api php

Bing image search api php

Hi friends, In this tutorial I am going to explain about how the bing image search api will work in php. To get Bing images you need to register in Bing Api and have to get API key to get Image results.

Bing Providing following Search Queries :

1. Query bing image api.

2. Query bing web api.

3. Query bing video api.

4. Query bing news api.

5. Query bing released search api.

6. Query bing spelling suggestions api.

URL for Bing searc API : https://api.datamarket.azure.com/Bing/Search/v1/

By default Bing will return 50 results per request.

1. Query bing image api : Which is going to provide the result of images. Per request we will get 50 images.

2. Query bing web api : Which is going to provide the result of web.

3. Query bing video api : Which is going to provide the result of videos. Per request we will get 50 videos.

4. Query bing news api : Which is going to provide the result of News.

5. Query bing released search api : Which is going to provide the related results of searc term.

6. Query bing spelling suggestions api : Which is going to provide the suggestion for misspelled term.

Example :



BingSearch.php

Index.php

 

Microsoft have announced they are replacing the Bing search api that we are currently using  with a new version, this will happen from December 9th. Here you can find a new Version on bing API v5.

Hope this tutorial will help someone.

Happy coding.

If you like this article please don’t forget to share and comment.

Thanks!.