Skip to content

API for servis24.cz using servis24.cz as source of data (parsing loaded HTML).

Notifications You must be signed in to change notification settings

Salamek/servis24.cz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

servis24.cz

Build Status Donate

This code is using your LIVE access ID and Password, use only on your own risk.

API for servis24.cz using servis24.cz as source of data (parsing loaded HTML and CSV). Currently it supports only signin, and getting list of transactions

Installation

composer require salamek/servis24api

Setup on servis24.cz

You must enable DAILY extracts on account (ACCOUNT_ID) you wish to watch

Usage

<?php

require_once "vendor/autoload.php";

use Salamek\Servis24;

$servis24 = new Servis24('ACCOUNT_ID', 'ACCOUNT_PASSWORD', '/my/secured/storage');


//Return transactions as array filtred by dateFrom and dateTo
$array = $servis24->getTransactions('BANK_ACCOUNT_NUMBER', new \DateTime('2016-01-20'), new \DateTime());
echo '<pre>';
print_r($array);
echo '</pre>';