Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
});

About

A simple Qonto API client written in Node JS

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages