monobank_api 1.2.1 monobank_api: ^1.2.1 copied to clipboard
Simplifies interaction with public Monobank API Supports getting currencies and grabbing statement
Monobank API SDK for Dart #
Author is not related to monobank team.
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(reverse: true)) {
print('$item');
}
}
See other examples in Example.
Features and bugs #
Please file feature requests and bugs at the issue tracker.