Nodular Pudding Multiverse

    qonto

    1.0.0 • Public • Published

    Qonto API Client

    A simple client for Qonto's API written in Node JS (ES6) Official docs are found here;

    Installation

    To install simply use npm or clone repo:

    npm install qonto

    or clone repo and make link:

    $> git clone git@github.com:bottomatik/qonto-api.git

    Usage

    Qonto's API is not very detailed yet, but this repository will be updated along with the API.

    To init juste plug in your slug and secret like so:

    const Qonto = require('qonto');
     
    const QontoClient = new Qonto({
        slug: 'my slug',
        secret: 'my secret'
    });

    This enables you to create multiple clients for different accounts.

    API

    This client uses the same API as Qonto docs, and provides it as a Promise-based client. It uses fishingrod to perform requests, and returns a Promise with the exact (non-treated) response from Qonto.

    Organization

    QontoClient.organization().then(res => {
        console.log(res.response);
    }).catch(e => {
        console.error(e);
    });

    Transactions

    QontoClient.transactions('iban_for_transactions', [current_page=0], [per_page=100]).then(res => {
        console.log(res.response);
    }).catch(e => {
        console.error(e);
    });

    Install

    npm i qonto

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • jsmrcaga