tavcash

1.0.1 • Public • Published

tavcash

NPM version Downloads

JavaScript client for Shufersal's Tav Zahav Cash private API.

Implementation relies on an undocumented API used by Shufersal's website and may break without notice. The code is provided for educational purposes only. Actual usage of this library is strongly discouraged, and may violate Shufersal's terms of service.

Usage

Install the library with npm install tavcash

import TavcashClient from 'tavcash';
 
const tavcash = new TavcashClient();
 
const customerDetails = await tavcash.getCustomerDetails({
  customerId: '520022732' // Shufersal's company ID
});
 
console.log(customerDetails);
// <- ... object containing details on company and gift-card POC

/tavcash/

    Package Sidebar

    Install

    npm i tavcash

    Weekly Downloads

    3

    Version

    1.0.1

    License

    Apache-2.0

    Unpacked Size

    18.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • dleshem