<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d601588505461698440', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks

HOW TO use Bing Search v5 API with JavaScript

Taking off from the single basic JavaScript sample on the newly minted version 5 of Bing Search API, I put together a couple of samples of my own. You'll have to sign-up for a free key from Microsoft Cognitive Services to replace in the code samples to try them & also experiment with all the other APIs that are available

Bing Search API gets not just web search results but also image, news, & videos results for a given query and allows up to 1,000 free transactions per month across all Bing Search APIs

Google Custom Search API has a few additional steps & provides 100 search queries per day for free

This comparison of version 2 and 5 highlights the improvements -
Category Feature v2 v5
Web Search REST API x x
Related searches x x
Ranked Answers
(image, video, news, math, time)
Deep links (for first web page result) x
Adult intent signal x
Image Search REST API x x
Enhanced filters: image size, license, style x
Visually similar images and products x
Merchant and recipe sources
(for product and food images)
Trending images x
Entity recognition (for people) x
Computer-generated captions x
Video Search REST API x x
Video previews (motion thumbnails) x
Enhanced video metadata
(creator, resolution, view count)
Free / Paid video filter x
Trending videos x
News search REST API x x
News articles by category or market x x
Trending news (general or by category) x
Enhanced article metadata, including featured entities
Spell Check REST API x
Autosuggest REST API x
General Location and market awareness x x
Spelling suggestions x x
Safe search x x
Related searches x x
Continuous relevance improvements x
Ongoing support and feature improvements x

Related: Google vs. Microsoft Bing Search APIs: A Detailed Comparison

Labels: , , , , , , ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »


Post a Comment