openfin-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

openfin-ts

Build Status Coverage Status

Typescript compatible fints implementation

Install

//npm
npm install --save openfin-ts
//yarn
yarn add openfin-ts

Example

import { FinTSClient } from 'openfin-ts';
 
const client = new FinTSClient("12345",
    "http://testbank.com/hbci",
    "customerId",
    "1234pin");
 
try {
  await client.connect();
  const transactions = await client.getTransactions(client.konten[0].sepaData, null, null);
  transactions.forEach(transaction => {
        //Do things with transactions
  });
  await client.close();
} catch (err) {
  //handle errors
}

For more examples see the tests in /test

Package Sidebar

Install

npm i openfin-ts

Weekly Downloads

4

Version

1.0.1

License

Apache-2.0

Unpacked Size

408 kB

Total Files

154

Last publish

Collaborators

  • ckosmowski