Socket
Socket
Sign inDemoInstall

google-shopping-list

Package Overview
Dependencies
69
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    google-shopping-list

Scrapes the shopping list from shoppinglist.google.com as Google does not seem to have an API for this.


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Google Shopping List

Scrapes the shopping list from shoppinglist.google.com as Google does not seem to have an API for this.

It is recommened to make a new Google account, share your shopping list and make it the primary list.

Usage

const googleshoppinglist = require('google-shopping-list');

let creds = {
	email: 'email',
	password: 'password'
};

googleshoppinglist.getList(creds).then(res => {
	console.log(res);
});

API

googleshoppinglist.getList(credentials[, options])

  • credentials <Object>

    • email <string> A Google email
    • password <string> The password for your google email
  • options <Object>

    • cookies <boolean> Will store the cookies from the first session in a json file and use them in consequent connections until they expire. This speeds up the return. Defaults to false
  • returns: <Promise<Array>> Promise which resolves an array containing the list items

Dependencies

puppeteer

FAQs

Last updated on 20 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc