dev: update README.md

This commit is contained in:
mahdi msr 2025-09-29 03:27:16 +03:30
parent 4b74c9e61a
commit afaaee42be
1 changed files with 19 additions and 2 deletions

View File

@ -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.