troi-library

1.3.0 • Public • Published

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) => {
  // ...
});

Readme

Keywords

Package Sidebar

Install

npm i troi-library

Weekly Downloads

28

Version

1.3.0

License

MIT

Unpacked Size

8.82 kB

Total Files

5

Last publish

Collaborators

  • nfelger
  • benjaminaaron
  • joschka.decuveland
  • ckaatz
  • digitalservice4germany