Better pizza example
This commit is contained in:
parent
ed85774c15
commit
1daea459c3
1 changed files with 5 additions and 1 deletions
|
@ -24,7 +24,11 @@ Bing.web("Pizza", {
|
||||||
top: 10, // Number of results (max 50)
|
top: 10, // Number of results (max 50)
|
||||||
skip: 3, // Skip first 3 results
|
skip: 3, // Skip first 3 results
|
||||||
}, function(error, res, body){
|
}, 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]);
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue