1.1.5 • Published 2 years ago

google-results v1.1.5

Weekly downloads
1
License
ISC
Repository
github
Last release
2 years ago

google-results

A node.js package used to retrieve an array of google results with links, descriptions, and titles.

Install

npm i google-results

Configure app

const google = require('google-results');

config = {
    bannedWords: Array,
    resultAmount: int
}

google('QUERY STRING', CONFIG (optional)).then(results => {
    console.log(results)
})

Return Value

results = [
    {
        "title": string,
        "href": string,
        "description": string
    }
]

Example

config = {
    bannedWords: ['papa', 'hut', 'cheese']
    resultAmount: 5
}

google('pizza', config).then(results => {
    console.log(results)
})

Descriptions

// Optional Parameter
config = {
    bannedWords:  An array of words that will cause links to be excluded in they are included in the title.
    resultAmount: This integer is the maximum number of links to be returned from your query. (max 10)
}
1.1.5

2 years ago

1.1.4

2 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago