Skip to content

Commit

Permalink
docs(readme): Add example for download function
Browse files Browse the repository at this point in the history
  • Loading branch information
ercpereda committed Sep 4, 2016
1 parent 3168994 commit cbed686
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ bingImg.getRaw().
bingImg.getUrls().
then(res => console.log(res)).
catch(err => console.log(err));

// download the images
bingImg.download().
then(res => console.log(res)).
catch(err => console.log(err));
```

0 comments on commit cbed686

Please sign in to comment.