0.0.1 • Published 6 years ago
rest-industry-super-api v0.0.1
rest-industry-super-api
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
0.0.1
6 years ago