Better pizza example

This commit is contained in:
goferito 2015-09-15 14:24:21 +02:00
parent ed85774c15
commit 1daea459c3

View file

@ -24,7 +24,11 @@ Bing.web("Pizza", {
top: 10, // Number of results (max 50)
skip: 3, // Skip first 3 results
}, function(error, res, body){
console.log(body);
// body has more useful information, but for this example we are just
// printing the first two results
console.log(body.d.results[0]);
console.log(body.d.results[1]);
});
```