elara-google-search
Advanced tools
Comparing version 1.0.9 to 1.1.0
{ | ||
"name": "elara-google-search", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "Returns the google search results, requires an api key & cx ID", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,20 +0,1 @@ | ||
#Example Usage | ||
https://console.developers.google.com/apis - API Key | ||
http://www.google.com/cse/manage/all - CX ID | ||
```js | ||
let Google = require('elara-google-search'), | ||
google = new Google("API KEY", "CX ID"); | ||
let res = await google.search("elara-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); | ||
} | ||
``` | ||
# This package is outdated and has been moved to https://www.npmjs.com/package/@elara-services/google-search |
1785
1