2017 © Pedro Peláez
 

library client

Bestoon php client

image

bestoon/client

Bestoon php client

  • Sunday, February 12, 2017
  • by iamalirezaj
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bestoon php client

A simple PHP client for Bestoon Project, (*1)

Installation

you can install client with composer, (*2)

composer require bestoon/client:'dev-develop'

Usage : Setconfig

You should set your API token key first with instance of client, (*3)

use Bestoon\Client;

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

Manage stats

You can manage your stats with generalStat method, (*4)

$stats = $client->generalStat();

var_dump($stats);

Set incom

Set your income with amount and text in arguments, (*5)

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

Set expense

Set your expense with amount and text in arguments, (*6)

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

License

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

The Versions

12/02 2017

dev-develop

dev-develop

Bestoon php client

  Sources   Download

MIT

The Requires

 

by Alireza Josheghani