PHP code example of chatway / mt4-micro-php-client
1. Go to this page and download the library: Download chatway/mt4-micro-php-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
chatway / mt4-micro-php-client example snippets
Instance = new Swagger\Client\Api\GroupsApi(
// 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()
);
$token = "token_example"; // string |
$accept = "accept_example"; // string |
try {
$apiInstance->groupsGet($token, $accept);
} catch (Exception $e) {
echo 'Exception when calling GroupsApi->groupsGet: ', $e->getMessage(), PHP_EOL;
}