improve image search
use object instead of a string for the imagefilters
This commit is contained in:
parent
5fc630c004
commit
670105f579
2 changed files with 24 additions and 2 deletions
|
@ -35,7 +35,13 @@ Adding filter(s) for the Image Search
|
|||
```js
|
||||
Bing.images("Ninja Turtles", function(error, res, body){
|
||||
console.log(body);
|
||||
}, {imagefilters: 'Size:Small+Color:Monochrome'});
|
||||
},
|
||||
{
|
||||
imagefilters: {
|
||||
size: 'small',
|
||||
color: 'monochrome'
|
||||
}
|
||||
});
|
||||
```
|
||||
Accepted filter values:
|
||||
* Size:\<Small | Medium | Large\>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue