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.

example/qonto.dart

import 'package:qonto/qonto.dart';
import 'dart:io' show Platform;

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());
  });
}
0
likes
30
points
28
downloads

Publisher

verified publishermakepad.fr

Weekly Downloads

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