Support for related search and spelling suggestions
This commit is contained in:
parent
f3909e5c0f
commit
8d3d53c261
3 changed files with 96 additions and 0 deletions
14
README.md
14
README.md
|
@ -108,6 +108,20 @@ Accepted filter values:
|
|||
* Style:\<Photo | Graphics\>
|
||||
* Face:\<Face | Portrait | Other\>
|
||||
|
||||
#### Related Search:
|
||||
```js
|
||||
Bing.relatedSearch('berlin', {market: 'en-US'}, function (err, res, body) {
|
||||
var suggestions = body.d.results.map(function(r){ return r.Title});
|
||||
console.log(suggestions.join('\n'));
|
||||
});
|
||||
```
|
||||
|
||||
#### Spelling Suggestions:
|
||||
```js
|
||||
Bing.spellingSuggestion('awsome spell', function (err, res, body) {
|
||||
console.log(body.d.results[0]); //awesome spell
|
||||
});
|
||||
```
|
||||
|
||||
#### Specify Market
|
||||
Getting spanish results:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue