merinsky / fiobank
FioBank API
1.0.1
2017-03-19 22:46 UTC
Requires
- php: >=7.0.0
- ext-curl: *
- ext-json: *
This package is not auto-updated.
Last update: 2025-04-30 23:49:03 UTC
README
FioBank API
It offers implementation of FioBank API described in the documentation, ver.1.5.2.
Installation
composer require merinsky/fiobank
Usage
The getBankStatement method returns array of bank statements.
define('API_KEY', '...'); $from = \DateTime::createFromFormat('Y-m-d', '2017-01-01'); $to = \DateTime::createFromFormat('Y-m-d', '2017-01-30'); // gets bank statements, period between $from and $to $bank = new \Merinsky\FioBank\FioBank(API_KEY); $bs = $bank->getBankStatement($from, $to);