Skip to content

honzap/fioapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fio Bank API client

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.

Usage

  1. Add a library to your project.
  2. Implement requested interfaces FioWebConnector and FioJsonConverter
  3. Create instance of FioClient with your token

Creating instance

FioClient fio = FioClient(urlConnector, gson, "mytoken");

Get account statement

Get account statement with the year and statement number:

FioAccountStatement statement = fio.getStatement(2019, 1);

Get list of transactions

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

Set last downloaded transaction by by date:

fio.setTransactionPointerByDate(new LocalDate(2019, 1, 1));

Set last downloaded transaction by transaction id:

fio.setTransactionPointerById("123456789");

Documentation

API documentation from FIO

Credits

  • Jan Pěček

Licence

Licensed by GNU GPL v3

About

Modern implementation of FIO Bank API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages