Using Bing Search API
Hi every one,
I needed to use Bing search API Yesterday and I'd like to share it with you.
What should you do to use Bing Search API
I needed to use Bing search API Yesterday and I'd like to share it with you.
What should you do to use Bing Search API
- You should have a Microsoft account (hotmail,....), Sign in here.
- If you don't have a Windows Azure Marketplace account you will be redirected to a registration form, fill it and press continue then accept the terms of use, Register.
- If you opened "My Account" you will see what you need and it is the Primary Account key that you will need as an Appid to authenticate your request.
- The Appid is formed by adding a colon(:) before it then encode to base64, you can use this link.
- You now need to subscribe for Bing search API from here, there is a free plan 5,000 Transaction/month.
- To use the API in your code, make sure to put this header in your request "Authorization : Basic [your Appid]"
- You can test the API and check different url forms from here.
Good Luck.
Comments
Post a Comment