1.3.0 • Published 8 months ago
troi-library v1.3.0
troi-library
Interact with troi api v2 without hassle. Originally build by @nfelger.
Setup
npm i troi-library --save
Usage
import TroiApiService from "troi-library";
const troiUrl = "https://<MY_ORG>.troi.software/api/v2/rest";
const troiApi = new TroiApiService(troiUrl, username, password);
await troiApi.initialize();
troiApi.getCalculationPositions().then((pos) => {
// ...
});