A simple PHP client for Bestoon Project
you can install client with composer
composer require bestoon/client:'dev-develop'
You should set your API token key first with instance of client
use Bestoon\Client;
$client = new Client([
'token' => 'YOUR-TOKEN'
]);
You can manage your stats with generalStat method
$stats = $client->generalStat();
var_dump($stats);
Set your income with amount and text in arguments
$client->setIncome('1000000','Test');
Set your expense with amount and text in arguments
$client->setExpense('1000000','Test');
The MIT License (MIT). Please see License File for more information.