Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 515 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 515 Bytes

Monobank API SDK for Dart

This package is unofficial

Usage

Quick example:

import 'package:monobank_api/monobank_api.dart';

void main() async {
  var client = MonoAPI('token');
  var res = await client.clientInfo();
  var account = res.accounts[0];
  var statement = account.statement(
    DateTime.now().subtract(Duration(days: 31)), 
    DateTime.now(),
  );

  await for (var item in statement.list(isReverseChronological: true)) {
    print('$item');
  }
}

See other examples in Example.