Modern implementation of FIO Bank API.
Implemented in Kotlin with pure Java API. Any of HTTPS client library can be used, as like the JSON parser.
- Add a library to your project.
- Implement requested interfaces
FioWebConnector
andFioJsonConverter
- Create instance of
FioClient
with your token
FioClient fio = FioClient(urlConnector, gson, "mytoken");
Get account statement with the year and statement number:
FioAccountStatement statement = fio.getStatement(2019, 1);
Get list of transactions for the given period:
FioAccountStatement statement = fio.getTransactions(new LocalDate(2019, 1, 1), new LocalDate(2019, 1, 31));
Get list of transactions from the last download:
FioAccountStatement statement = fio.getNewTransactions();
Set last downloaded transaction by by date:
fio.setTransactionPointerByDate(new LocalDate(2019, 1, 1));
Set last downloaded transaction by transaction id:
fio.setTransactionPointerById("123456789");
- Jan Pěček
Licensed by GNU GPL v3