Questions tagged [bing-api]

The Bing Application Programming Interface (API), enables developers to programmatically submit queries to and retrieve results from the Microsoft Bing Search Engine.

739 questions
3
votes
1 answer

Bing Visual Search API endpoint returns different results than bing.com/visualsearch

I'm trying to collect similar images of an image using Bing Visual Search API. I have the following code snippet and I'm supplying an insightsToken of this image to the API endpoint. import requests import json BASE_URI =…
lowlypalace
  • 137
  • 2
  • 9
3
votes
1 answer

Search for Images using Bing Image API Javascript

I am trying to use the Bing Search Image API to search through an array of items that I have called names. I have used the documentation on https://learn.microsoft.com/en-us/azure/cognitive-services/bing-image-search/quickstarts/nodejs for getting…
Rajat Khare
  • 522
  • 8
  • 26
3
votes
2 answers

Bing API image search filter

I'm using Bing Sharp 2.0. I'd like to do image search by filters, so I follow the codes in sample: SearchRequest searchRequest = new SearchRequest { AppId = appId, Query = query, Market = "en-US" }; ImageRequest imageRequest = new…
neolei
  • 1,798
  • 2
  • 18
  • 32
3
votes
2 answers

Bing/Google/Flickr API: how would you find an image to go along each of 150,000 Japanese sentences?

I'm doing part-of-speech & morphological analysis project for Japanese sentences. Each sentence will have its own webpage. To make this page more visual, I want to show one picture which is somehow related to the sentence. For example, For the…
Arman
  • 1,074
  • 3
  • 20
  • 40
3
votes
1 answer

Faliure to import azure.cognitiveservices.search.websearch module into program

Im experimenting with the bing search api from azure. I've installed the module using pip(using python -m pip install azure-cognitiveservices-search-websearch) into the virtual environment I created using venv. Have I done something wrong? Because…
3
votes
1 answer

Bing Web Search API GET request returning 404 not found

When submitting a search on my bing custom search API it is returning 404 not found. I have changed the API key and endpoint to my details My endpoint is: https://fruitbox-search.cognitiveservices.azure.com/bing/v7.0 // Replace with a valid…
Aaron Davis
  • 140
  • 1
  • 7
3
votes
0 answers

Is it possible to specify synonyms in a Bing Custom Search instance?

I'm setting up a Bing Custom Search instance and have some requirements around configuring industry-specific synonyms e.g. searching for either DD or Direct Debit should return the same results with the word "direct debit" Highlighted There doesn't…
Pirate Briggs
  • 186
  • 1
  • 8
3
votes
4 answers

delphi read xml element

I'm new to XML and we need to do GeoCoding with the new Bing Spatial Data API. I've managed to get a result back from them in xml format. How would I read specific elements in the response, ie. the Link, Status and ErrorMessages?
Pieter van Wyk
  • 2,316
  • 9
  • 48
  • 65
3
votes
2 answers

What is an appropriate way to datamine the total number of results of a keyword search?

newbie programmer and lurker here, hoping for some sensible advice. :) Using a combination of Python, BeautifulSoup, and the Bing API, I was able to find what I wanted with the following code: import urllib2 from BeautifulSoup import…
3
votes
1 answer

Web Search API from Contextual Web Search Engine

How to parse in C# or Python the JSON response returned from Contextual Web search api? (here is a link to the request: http://contextualwebsearch.com/freeapi)
3
votes
2 answers

Unable to paginate through all bing API results

I'm currently using the Bing Web Search API v7 to query Bing for search results. As per the API docs, the parameters count and offset are used to paginate through the results, the total number of which are defined in the results themselves by the…
user783836
  • 3,099
  • 2
  • 29
  • 34
3
votes
1 answer

Where to store private API key for access by plain Javascript Azure Web Application? No Web.config or C#

I have a simple website that's hosted on an Azure Web App that's literally just one .html file, one .css file, and one .js file. It uses the Bing API to get data and chartjs to graph that data on the page. The issue is I obviously don't want to…
TJ_
  • 328
  • 2
  • 13
3
votes
1 answer

Bing "Address Object" is missing adminDistrict or postalCode

I'm using Bing's Autosuggest UI(Without Map) to populate an autocomplete in an address input, but depending on the query, the selectedResult is missing either an adminDistrict or a postalCode. The code below is very similar to the one used on Bing's…
Zach Newburgh
  • 563
  • 3
  • 11
3
votes
3 answers

CppRestSDK https request not working

This is returning error code 401 or 500. Can somebody help me where I am going wrong? http_client client(L"https://oxford-speech.cloudapp.net/token/issueToken/"); uri_builder query; query.append_query(L"grant_type", L"client_credentials"); …
3
votes
1 answer

Are there limitations for using the bing news rss feed?

We want to use the bing news rss feed, https://www.bing.com/news/search?q={query}&format=rss, but we're not sure if there are any restrictions, i.e. max queries per second or max queries per month. Does anyone know what kind of pricing and…
blopblop
  • 73
  • 1
  • 9