All URIs are relative to /v1
| Method | HTTP request | Description |
|---|---|---|
| accountLoginGet | GET /account/{login} | Get account by user login |
\D4T\MT5Sdk\Models\Account accountLoginGet($login)
Get account by user login
Get account by user login
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP bearer authorization: bearerAuth
$config = D4T\MT5Sdk\Configuration::getDefaultConfiguration()
->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new D4T\MT5Sdk\MT5Manager\AccountApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$login = "login_example"; // string | Login
try {
$result = $apiInstance->accountLoginGet($login);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->accountLoginGet: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| login | string | Login |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]