Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.64 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.64 KB

Monobank open API client

PHP client for Monobank open API

License Build Status codecov scrutinizer intelligence

Examples

<?php

include 'vendor/autoload.php';

use GuzzleHttp\Client;
use Monobank\MonobankClient;
use Monobank\ValueObject\Token;

$httpClient = new Client();
$token = new Token('...');
$client = new MonobankClient($httpClient, $token);

var_dump($client->getExchangeRates());

var_dump($client->getClientInfo());

var_dump($client->getPersonalStatement(new PersonalStatementRequest(new DateTime('2019-06-20'), new DateTime())));

Source(s)