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

Commit

Permalink
Update README file
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjosh committed Feb 2, 2017
1 parent 1b728e7 commit ca10bee
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,44 @@
## Bestoon php client

### Install
### Installation

you can install client with composer
```
composer require bestoon/client
```
```

## Usage : Setconfig

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

```php
use Bestoon\Client;

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

### Manage stats
You can manage your stats with generalStat method

```php
$stats = $client->generalStat();

var_dump($stats);
```

### Set incom
Set your income with icome with with amount and text in arguments
```php
$client->income('1000000','Test');
```

### Set expense
Set your expense with icome with with amount and text in arguments
```php
$client->expense('1000000','Test');
```

### License
The MIT License (MIT). Please see [License File](LICENSE) for more information.

0 comments on commit ca10bee

Please sign in to comment.