diff --git a/README.md b/README.md index 2fa8bca..5682bb7 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +For issues and questions, please create an issue on the GitHub repository.