@elara-services/google-search
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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);
    }

Readme

Keywords

none

Package Sidebar

Install

npm i @elara-services/google-search

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.7 kB

Total Files

4

Last publish

Collaborators

  • elara-services