1.0.11 • Published 4 years ago

@mojoio/qonto v1.0.11

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

@mojoio/qonto

an unofficial api package for the qonto.com API

Availabililty and Links

Status for master

Status CategoryStatus Badge
GitLab Pipelinespipeline status
GitLab Pipline Test Coveragecoverage report
npmnpm downloads per month
SnykKnown Vulnerabilities
TypeScript SupportTypeScript
node Supportnode
Code StyleCode Style
PackagePhobia (total standalone install weight)PackagePhobia
PackagePhobia (package size on registry)PackagePhobia
BundlePhobia (total size when bundled)BundlePhobia
Platform supportSupports Windows 10 Supports Mac OS X

Usage

Use TypeScript for best in class intellisense

// this is the original test file, which is automatically updated
// test setup
import { expect, tap } from '@pushrocks/tapbundle';
import { Qenv } from '@pushrocks/qenv';

const testQenv = new Qenv('./', './.nogit');

// here it gets interesting about how to use the lib
import * as qonto from '../ts/index';

let testQontoAccount: qonto.QontoAccount;

tap.test('should create a qonto account', async () => {
  testQontoAccount = new qonto.QontoAccount({
    qontoUser: testQenv.getEnvVarOnDemand('QONTO_USER'),
    qontoToken: testQenv.getEnvVarOnDemand('QONTO_TOKEN')
  });
  expect(testQontoAccount).to.be.instanceOf(qonto.QontoAccount);
});

tap.test('should get qonto bank account in a qonto account', async () => {
  const bankAccounts = await testQontoAccount.getBankAccounts();
  const bankAccount = bankAccounts[0]
  expect(bankAccount).to.be.instanceOf(qonto.QontoBankAccount);
});

tap.test('should get transactions from a qonto bank account', async () => {
  const bankAccounts = await testQontoAccount.getBankAccounts();
  const bankAccount = bankAccounts[0]
  expect(bankAccount).to.be.instanceOf(qonto.QontoBankAccount);

  const transactions = await bankAccount.getTransactions();
  
});

tap.start();

Contribution

We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can contribute one time or contribute monthly. :)

For further information read the linked docs at the top of this readme.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago