dev: update README.md
This commit is contained in:
parent
4b74c9e61a
commit
afaaee42be
21
README.md
21
README.md
|
|
@ -34,7 +34,24 @@ Run the configuration check script:
|
||||||
php scripts/check-config.php
|
php scripts/check-config.php
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
# Usage
|
||||||
|
|
||||||
|
## Using Facade Class
|
||||||
|
|
||||||
|
```php
|
||||||
|
$response = \Msr\LaravelBitunixApi\Facades\LaravelBitunixApi::changeLeverage('BTCUSDT', 'USDT', 12);
|
||||||
|
```
|
||||||
|
|
||||||
|
## Using implemented contracts class
|
||||||
|
|
||||||
|
```php
|
||||||
|
$api = new \Msr\LaravelBitunixApi\LaravelBitunixApi();
|
||||||
|
$response = $api->changeLeverage('BTCUSDT', 'USDT', 12);
|
||||||
|
```
|
||||||
|
|
||||||
|
## Using Contracts
|
||||||
|
|
||||||
|
which bind in package service provide (`LaravelBitunixApiServiceProvider`)
|
||||||
|
|
||||||
### Change Leverage
|
### Change Leverage
|
||||||
|
|
||||||
|
|
@ -386,4 +403,4 @@ MIT License. See LICENSE file for details.
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
For issues and questions, please create an issue on the GitHub repository.
|
For issues and questions, please create an issue on the GitHub repository.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue