Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

google-search-results-serpwow

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-search-results-serpwow - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

4

package.json
{
"name": "google-search-results-serpwow",
"version": "0.0.8",
"version": "0.0.9",
"description": "Google Search Results Node JS API via SerpWow.com",

@@ -44,5 +44,3 @@ "main": "dist/index.js",

"dependencies": {
"@babel/core": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"node-fetch": "^2.2.0"

@@ -49,0 +47,0 @@ },

@@ -57,3 +57,3 @@ # Google Search Results in Node.JS

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -90,3 +90,3 @@ // #1. example using promises & async/await

## Example Response
A snapshot (shortened for brevity) of the JSON response returned is shown below. For details of all of the fields from the Google search results page that are parsed please see the [docs](https://serpwow.com/docs/search-api/results/overview).
A snapshot (shortened for brevity) of the JSON response returned is shown below. For details of all of the fields from the Google search results page that are parsed please see the [docs](https://serpwow.com/docs/search-api/results/google/overview).
```json

@@ -99,3 +99,3 @@ {

"id": "20c8e44e9cacedabbdff2d9b7e854436056d4f33",
"google_url": "https://www.google.com/search?q=pizza&oq=pizza&sourceid=chrome&ie=UTF-8",
"engine_url": "https://www.google.com/search?q=pizza&oq=pizza&sourceid=chrome&ie=UTF-8",
"total_time_taken": 0.14

@@ -189,3 +189,3 @@ },

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -209,3 +209,3 @@ // retrieve the search results as JSON

## Searching Google Places, Google Videos, Google Images, Google Shopping and Google News
Use the ``search_type`` param to search Google Places, Videos, Images and News. See the [Search API Parameters Docs](https://serpwow.com/docs/search-api/searches/parameters) for full details of the additional params available for each search type.
Use the ``search_type`` param to search Google Places, Videos, Images and News. See the [Search API Parameters Docs](https://serpwow.com/docs/search-api/searches) for full details of the additional params available for each search type.
```javascript

@@ -266,3 +266,3 @@ // perform a search on Google News, just looking at blogs, filtering out duplicates, ordered by date, in the last tear

## Returning results as JSON, HTML and CSV
SerpWow can return data in JSON, HTML and CSV formats using the ``json``, ``html`` and ``csv`` methods. For CSV results use the ``csv_fields`` param ([docs](https://serpwow.com/docs/search-api/searches/csv-fields)) to request specific result fields.
SerpWow can return data in JSON, HTML and CSV formats using the ``json``, ``html`` and ``csv`` methods. For CSV results use the ``csv_fields`` param ([docs](https://serpwow.com/docs/search-api/reference/csv-fields)) to request specific result fields.
```javascript

@@ -272,3 +272,3 @@ var SerpWow = require('google-search-results-serpwow')

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -323,3 +323,3 @@ /*

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -380,3 +380,3 @@ // set up the mobile params

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -414,3 +414,3 @@ // make a simple query, returning JSON

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -443,3 +443,3 @@ // set number of results

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -480,3 +480,3 @@ // set up a multiple search parameters, retrieving results as CSV (note the csv_fields param)

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -504,3 +504,3 @@ // retrieve locations matching the query parameters as JSON

// create the serpwow object, passing in our API key
let serpwow = new SerpWow('demo')
let serpwow = new SerpWow('API_KEY')

@@ -507,0 +507,0 @@ // get our account info

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc