0.0.1 • Published 6 years ago

rest-industry-super-api v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

rest-industry-super-api NPM version

An unofficial Rest Industry Super API wrapper written in Typescript.

Installation

$ npm install --save rest-industry-super-api
$ yarn add rest-industry-supe-api

Usage

const RestIndustrySuper = require("rest-industry-super-api").RestIndustrySuper;

const memberId = 1234567890; // Your member id here
const password = "abcdefgh"; // Your password here

const rest = new RestIndustrySuper(memberId, password);

rest.login().then(() => {
    return rest.getTransactions();
}).then((transactions) => {
    console.log(transactions);
    return rest.logout();
});

License

MIT © Alexander B