PHP code example of cryptomkt / cryptomkt-guzzle-php
1. Go to this page and download the library: Download cryptomkt/cryptomkt-guzzle-php 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/ */
cryptomkt / cryptomkt-guzzle-php example snippets
use Cryptomkt\Exchange\Client;
use Cryptomkt\Exchange\Configuration;
$configuration = Configuration::apiKey($apiKey, $apiSecret);
$client = Client::create($configuration);
use Cryptomkt\Exchange\Client;
use Cryptomkt\Exchange\Configuration;
$configuration = Configuration::apiKey($apiKey, $apiSecret);
$configuration->setLogger($logger);
$client = Client::create($configuration);
$arguments = array('start_date' => '1/05/2018','end_date' => '31/05/2018');
$response = $client->getPayOrders($arguments);
## Contributing and testing
The test suite is built using PHPUnit. Run the suite of unit tests by running
the `phpunit` command.