1 year ago
#90181
VuzZ
Searching image through Google Search Engine
I've tried to make script that searches image on internet using GoogleImages, and I used this:
const GoogleImages = require('google-images');
const gse = new GoogleImages('my_cse_id','my_api_key');
const search_query = args.join(" ");
var image;
gse.search(search_query)
.then(images => {
image = images[0].url
})
But i just get an error:
Uncaught ErrorClass
javascript
node.js
api
search-engine
google-image-search
0 Answers
Your Answer