merinsky/fiobank

FioBank API

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/merinsky/fiobank

1.0.1 2017-03-19 22:46 UTC

This package is not auto-updated.

Last update: 2025-10-16 02:12:19 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);