qonto 0.1.0 copy "qonto: ^0.1.0" to clipboard
qonto: ^0.1.0 copied to clipboard

Qonto REST API implementation on Dart, based on Qonto REST API v2.

Qonto Online Banking Dart SDK #

Clique-Paris

Dart implementation of Qonto's REST API v2.

A simple usage example: #

Important: To execute the example code, you need to have following environment variables: QONTO_ID your Qonto API id, QONTO_SECRET your Qonto API secret and QONTO_TEST_ATTACHMENT an attachment id got from transaction details. For more information please check Qonto API's Authentification guide

void main(List<String> arguments)  {

    var envVars = Platform.environment;

    var qonto = Qonto(
      id: envVars['QONTO_ID'],
      secret: envVars['QONTO_SECRET']
    );

    qonto.members.then((result) {
      print('Members list');
      print(result);
    });

    qonto.labels.then((result) {
      print('Labels list');
      print(result);
    });

    qonto.organization.then((result) {
      print('Organization details');
      print(result.toString());
      qonto.transactions(result.slug, result.bankAccounts[0].iban).then((res) {
        print(res.toString());
      });
    });

    qonto.attachment(envVars['QONTO_TEST_ATTACHMENT']).then((res) {
      print(res.toString());
    });

}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
30
pub points
0%
popularity

Publisher

verified publishermakepad.fr

Qonto REST API implementation on Dart, based on Qonto REST API v2.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on qonto