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

bring-shopping

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bring-shopping

Nodejs wrapper for the Bring! API

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42
decreased by-17.65%
Maintainers
1
Weekly downloads
 
Created
Source

Node-Bring-Shopping

NPM version Downloads Build Status Greenkeeper badge

A node module for Bring! shopping lists.

Installation

npm install bring-shopping --production

Usage Example

const bringApi = require(`bring-shopping`);

main()

async function main () {
    // provide user and email to login
    const bring = new bringApi({mail: `example@example.com`, password: `secret`});
    
    // login to get your uuid and Bearer token
    await bring.login();
    
    // get all lists and their listUuid
    const lists = await bring.loadLists();
    
    // get items of a list by its list uuid
    const items = await bring.getItems('9b3ba561-02ad-4744-a737-c43k7e5b93ec');
    
    // get translations
    const translations = await bring.loadTranslations('de-DE');
} 

More important methods are getItems(listUUID), saveItem(listUuid, itemName, specificaiton), moveToRecentList(listUuid, itemName) and getAllUsersFromList(listUuid).

Changelog

1.2.1

  • (foxriver76) minor fix

1.2.0

  • (foxriver76) new functionalities -> getTranslations, getCatalog and getPendingInvitations

1.1.0

  • (foxriver76) use API version v2

1.0.2

  • (foxriver76) minor code optimization, nothing functional

1.0.1

  • (foxriver76) fix links in package

1.0.0

  • (foxriver76) offical release

Keywords

FAQs

Package last updated on 09 Jul 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc