Skip to content

Sominemo/monobank_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.