@elara-services/google-search
v1.0.0
Published
Returns the google search results, requires an api key & cx ID
Downloads
1
Readme
Example Usage
https://console.developers.google.com/apis - API Key
http://www.google.com/cse/manage/all - CX ID
let Google = require('@elara-services/google-search'),
google = new Google("API KEY", "CX ID");
let res = await google.search("@elara-services/google-search npm");
if(res.status){
// Success
console.log(res); // "res.links" to return all of the links found for that search!
}else{
// Failed
console.log(res);
}