I am trying to figure out how I can do a simple REST call in my app with BING Search API.
With Google the URL I use is something like this:
https://www.googleapis.com/customsearch/v1?key=HERE_IS_THE_KEY&cx=HERE-IS_APP_ID&searchType=image&lr=lang_no&q=pepsimax
I can't seem to find BING's version of this. I can't even find where I add a new APP in the control panel.
Anyone know the BING url to query search and where in the control panel to add a new app?
The query URLs have changed from http://api.bing.net in the Bing Search API 2.0 to the following in Windows Azure Marketplace. The one that you use depends on which product offering you've subscribed to.
Product offering Query URL
Bing Search API https://api.datamarket.azure.com/Bing/Search/
Bing Search API - Web Results Only https://api.datamarket.azure.com/Bing/SearchWeb/
For Web Result:
https://api.datamarket.azure.com/bing/search/web?format=json&query=%27Your_search_Keyword%27
Here is the documentation available.
Related
I want to create a multi-site search function using Bing Custom Search. I have created a search instance on https://www.customsearch.ai/ using my company-provided Microsoft account.
After adding my company's main www website (www.mysite.com) the search works, in the try-it-out tool and when going via the v7 API.
When I add a subsite, e.g. ``mysubsite.mysite.com`, how ever it does not crawl and display search results from that site.
I have tried:
Allowing subpages for mysite.com
Specifying protocol, e.g. HTTPS
Waiting for a day or two
What can be the problem? Sure, the subsite is not publicly released yet (or announced I mean), but it is accessible by everyone with an Internet connection and a web browser. How come Bing Custom Search does not find it when I tell it the exact address?
Thank you in advance.
If your subsite/pages are not crawled or indexed, you can check out the webmaster info on this page: https://learn.microsoft.com/en-us/azure/cognitive-services/bing-custom-search/define-your-custom-view. Search for webmaster documentation on this page.
I have a question, searching a local business on Bing maps results in detail information about the business for instance its phone, url and hours of operations. I didn't find a way to get similar attributes (phone, url, hours of operations etc) by Bing maps API. My question is it just me, who is unable to find a way to extract such info or there is no way (through Bing maps API)?
This is to be expected. The Bing Maps website is just like any other company that uses the Bing Maps API's. They use the API's to provide mapping functionality and then add their custom functionality on top. A lot of the rich business listing data that you see on the Bing Maps website is sourced from other companies such as Yelp, Four Square or Trip advisor, but they only allow the Bing Maps to use this data in their 1st party apps (i.e. Bing Maps website) and not in the developer API's as these companies already have developer API's. This is the primary reason why you will see more data on the Bing Maps website than you will in the API. You will find that this is also the case with Google Maps as well.
I notice that Facebook pages allow a map box that clicks to a full page, dynamic Bing map:
And by just changing the address and name parameters in the link HTML I can get the map to show any location and map sign I want.
Do I need a license to generate these links myself for clients that I build a web page for?
Thanks for any information.
If you want to create links to Bing Maps that open a map to specific location using nothing more than a URL then you can do this using the documented method found here: http://msdn.microsoft.com/en-us/library/dn217138.aspx Don't reverse engineer the maps on Facebook.
A license is not required to do this. However you will find that you are limited to only the functionality that is exposed through the URL and won't be able to do much in terms of customizations. You will also be taking users away from there current environment to the Bing Maps website which might not be the ideal user experience. If you need more customization functionality or a better user experience then you would use the Bing Maps development API and which does have some free terms of use, but also has options for licensing high volume or internal apps.
I am creating a search engine using Goolge Custom Search API (JSON/atom). I have associated my search engine with an adsense account but when I make queries I don't get any ads with search results also I have checked the Google Custom Search documentation and it does not mention anything about ads in the response of the API call, it only tell about the search results and the promotions.
I want to know if its possible to get search ads with JSON/atom API.
Thanks in advance,
Kamran
Im trying to create a "search nearby" shops on iphone,
but i can not find any solution on how to get the data from Gdata Libraries.
http://code.google.com/p/gdata-objectivec-client/
They only support the following Google services provides a Google data API, but not google maps?!
Google Base
Blogger
Book Search
Calendar
Code Search
Contacts
Documents List
Finance
Health
Picasa Web Albums
Spreadsheets
Webmaster Tools
YouTube
Any solution or idea where i should look for would be much appreciated.
As far as I know, the only way to do this is to use the KML output format from a standard Google search:
http://maps.google.com.au/maps?f=q&source=s_q&hl=en&geocode=&q=italian%20category:restaurants&sll=-37.816518,144.890628&sspn=0.007247,0.012424&ie=UTF8&z=12&output=kml
Although you should check Google's terms and conditions to see if you're allowed to use that as an API.