improve image search

use object instead of a string for the imagefilters
This commit is contained in:
ray 2015-03-13 15:13:35 +01:00
parent 5fc630c004
commit 670105f579
2 changed files with 24 additions and 2 deletions

View file

@ -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\>