dev: update README.md
This commit is contained in:
1 parent
4b74c9e61a
commit
afaaee42be
1 file changed
+19
-2
@@ -34,7 +34,24 @@ Run the configuration check script:
|
||||
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
|
||||
|
||||
@@ -386,4 +403,4 @@ MIT License. See LICENSE file for details.
|
||||
|
||||
## 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.
|
||||
Reference in new issue
Block a user