2017 © Pedro Peláez
 

library privatbank-api

PHP wrapper for PrivatBank API

image

cyanofresh/privatbank-api

PHP wrapper for PrivatBank API

  • Monday, May 28, 2018
  • by CyanoFresh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

PrivatBank API client

Unofficial PHP wrapper for PrivatBank API., (*1)

For now can only fetch card balance and statements., (*2)

Inspired by yehor-manzhula/privatbank-api., (*3)

Feel free for contribute ;), (*4)

Installation

composer require cyanofresh/privatbank-api

Usage

<?php

require './vendor/autoload.php';

$merchant = new \CyanoFresh\PrivatBankAPI\Merchant('MERCHANT ID HERE', 'MERCHANT PASSWORD HERE');

// Get balance of the card
$merchant->getBalanceInfo('CARD NUMBER HERE');

// Get statements for card for last 1 week
$merchant->getStatements('CARD NUMBER HERE', (new DateTime())->modify('-1 week'), new DateTime());

Some demo can be found in the demo/index.php. But remember, it's only demo., (*5)

The Versions

28/05 2018

dev-master

9999999-dev

PHP wrapper for PrivatBank API

  Sources   Download

MIT

The Requires

 

by Alex Solomaha

privatbank privat24 privatbank api php privatbank

28/05 2018

v1.0.0

1.0.0.0

PHP wrapper for PrivatBank API

  Sources   Download

MIT

The Requires

 

by Alex Solomaha

privatbank privat24 privatbank api php privatbank