mcmatters/monobank-api

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

dev-master 2020-02-07 12:03 UTC

This package is auto-updated.

Last update: 2021-11-07 17:25:37 UTC


README

Installation

composer require mcmatters/monobank-api

Official Documentation

https://api.monobank.ua/docs/

Usage

This library only for personal usage

<?php

require 'vendor/autoload.php';

$client = new \McMatters\MonobankApi\MonobankClient('PERSONAL_TOKEN');

$currencies = $client->currency()->list();

$yourInfo = $client->client()->getInfo();
$anotherPersonInfo = $client->client()->getInfo('ANOTHER_PERSON_TOKEN');
$statement = $client->client()->getStatement('0', 1546304461);