Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ikontist

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ikontist - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

.eslintrc.js

11

cli.js
#!/usr/bin/env node
'use strict';
const program = require('commander');
const path = require('path');
const dirname = path.dirname;
program
.version('0.1.0')
.command('transactions [format]', 'list transactions', {isDefault: true})
.parse(process.argv);
// redirect commands to src/cli subfolder
process.argv[1] = dirname(process.argv[1], '.js') + "/src/cli/cli.js"
require("./src/cli/cli");
{
"name": "ikontist",
"version": "0.1.0",
"description": "Imports Kontist transactions and creates QIF",
"main": "kontist-client.js",
"version": "0.2.0",
"description": "Connect to Kontist, fetch and create and transfers, export transactions as QIF",
"main": "src/kontist-client.js",
"author": "",

@@ -22,3 +22,10 @@ "license": "ISC",

"homepage": "https://github.com/netnexus/IKontist#readme",
"devDependencies": {},
"devDependencies": {
"eslint": "^4.3.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1"
},
"scripts": {

@@ -25,0 +32,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

# IKontist
Fetch transactions from Kontist
Fetch transactions from Kontist.
This repository is not an official repository of the Kontist GmbH.

@@ -9,2 +10,4 @@ ## What does it do?

Current scope is to fetch transactions, transfers, statements and to create and confirm new transfers.
Please note that this project is in a early stage and support is welcome.

@@ -48,29 +51,3 @@

"e2e_id": "xxx",
"debug_only_raw_booking": {
"id": "xxx",
"creation_date": "2017-08-02",
"valuta_date": "2017-08-02",
"booking_date": "2017-08-02",
"booking_type": "SEPA_CREDIT_TRANSFER",
"amount": {
"value": 8199,
"unit": "cents",
"currency": "EUR"
},
"description": "RNr. ABC",
"recipient_bic": "SOBKDEBB",
"recipient_iban": null,
"recipient_name": "xxx",
"sender_bic": "xxx",
"sender_iban": "xxx",
"sender_name": "Example GmbH",
"end_to_end_id": "xxx",
"creditor_identifier": null,
"mandate_reference": null,
"transaction_id": null,
"return_transaction_id": null,
"sepa_return_code": null,
"sepa_return_reason": null,
"sepa_return_reason_definition": null
},
...
"booking_date": "2017-08-02T00:00:00.000Z",

@@ -116,2 +93,18 @@ "valuta_date": "2017-08-02T00:00:00.000Z",

To start a transfer you can use `transfer init` and `transfer confirm`:
```bash
# init transfer of 1€ to John Doe
node cli.js transfer init "John Doe" DE89370400440532013000 100 "test description"
# use transfer id from result above (see links.self) and wait for sms with token (e.g. 252899)
node cli.js transfer confirm 720140159196d55d53d4af87e1c38f46ctrx 252899 "John Doe" DE89370400440532013000 100 "test description"
```
See more commands with
```bash
node cli.js --help
```
## How to use the API

@@ -124,2 +117,5 @@ Please have a look at the `kontist-client.js`. Currently it provides methods for the following endpoints:

getTransfers(accountId)
initiateTransfer(accountId, recipient, iban, amount, note)
confirmTransfer(accountId, transferId, authorizationToken, recipient, iban, amount, note)
getStatements(accountId, year, month)

@@ -126,0 +122,0 @@ The class needs to be initialized with the Kontist username and password, e.g.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc