Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

mrjosh/bestoon-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Bestoon php client

A simple PHP client for Bestoon Project

Installation

you can install client with composer

composer require bestoon/client:'dev-develop'

Usage : Setconfig

You should set your API token key first with instance of client

use Bestoon\Client;

$client = new Client([
    'token' => 'YOUR-TOKEN'
]);

Manage stats

You can manage your stats with generalStat method

$stats = $client->generalStat();

var_dump($stats);

Set incom

Set your income with amount and text in arguments

$client->setIncome('1000000','Test');

Set expense

Set your expense with amount and text in arguments

$client->setExpense('1000000','Test');

License

The MIT License (MIT). Please see License File for more information.

Releases

No releases published

Packages

No packages published

Languages