0.6.0 ā€¢ Published 1 year ago

pizzadoor-stocks-manager v0.6.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Pizzadoor stocks manager

šŸ•šŸ¤– Stocks manager for Adial pizza ATM (pizzadoor)

Installation

  npm install pizzadoor-stocks-manager

Usage

Quick start

const PizzadoorStocksManager = require('pizzadoor-stocks-manager');

const config = {};
const credentials = {
  adial: {
    username: 'my-username',
    password: 'my-super-secret-password',
  },
};

let manager = new PizzadoorStocksManager(config, credentials);

manager.fetchAndManage().then(atmsData => console.log(atmsData));

Credentials

Here are all the credentials that might be required to work properly.

const credentials = {
  adial: {
    username: 'my-username',
    password: 'my-super-secret-password',
  },
  sendgrid: {
    apiKey: 'my-api-key',
  },
};

Config

Take a look at the sample.config.js file at the root of the repo to get all the possible settings available.

Issues

Found a bug? Feel free to contact me or open an issue on github. You can also contribute by creating a pull request.

Improvements

This project has recently been migrated to Typescript due to an external need. The typeness support is partial and mostly ensured to have type at the external interface. The internal code is not properly typed. Since a lot of the code is scraping, its format is not stable and it is not easy to type. If you are interested in improving the typing, please feel free to submit a PR.

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago