Search for images with Google, without the use of Custom Search JSON/Atom API
To install you can simply run the following command in you NodeJS project:
npm install free-google-image-search --save
or this one:
yarn add free-google-image-search
Library is really simple to use. All you need to do is call .searchImage function and pass in desired search query. Here's a simple example code:
import GoogleImageSearch from 'free-google-image-search'
GoogleImageSearch.searchImage("cats")
.then((res) => {
console.log(res); // This will return array of image URLs
})
Library currently returns an array of google image thumbnails.
Feel free to submit issues and enchantment requests
Please you the "fork-and-pull" Git workflow
Please refer to the following code styling guide
Please use this library mainly for testing purposes. It can be unstable in production environments